Project

General

Profile

« Previous | Next » 

Revision 61aa85e4

Added by Leszek Koltunski over 2 years ago

Simplify ObjectList: now there's just one object per size.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyRex.java
76 76
  public TwistyRex(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
77 77
                   DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
78 78
    {
79
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.REX, res, scrWidth);
79
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
80 80
    }
81 81

  
82 82
///////////////////////////////////////////////////////////////////////////////////////////////////
......
486 486
    return mBasicAngle;
487 487
    }
488 488

  
489
///////////////////////////////////////////////////////////////////////////////////////////////////
490

  
491
  public ObjectList intGetObjectList(int numLayers)
492
    {
493
    return ObjectList.REX_3;
494
    }
495

  
489 496
///////////////////////////////////////////////////////////////////////////////////////////////////
490 497

  
491 498
  public int getObjectName(int numLayers)

Also available in: Unified diff