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/TwistyBandaged3Plate.java
37 37
  public TwistyBandaged3Plate(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
38 38
                              DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
39 39
    {
40
    super(size, quat, texture, mesh, effects, moves, ObjectList.BAN3, res, scrWidth);
40
    super(size, quat, texture, mesh, effects, moves, res, scrWidth);
41 41
    }
42 42

  
43 43
///////////////////////////////////////////////////////////////////////////////////////////////////
......
122 122
///////////////////////////////////////////////////////////////////////////////////////////////////
123 123
// PUBLIC API
124 124

  
125
  public ObjectList intGetObjectList(int numLayers)
126
    {
127
    return ObjectList.BAN3_3;
128
    }
129

  
130
///////////////////////////////////////////////////////////////////////////////////////////////////
131

  
125 132
  public int getObjectName(int numLayers)
126 133
    {
127 134
    return R.string.bandaged_3plate;

Also available in: Unified diff