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/TwistyBandaged2Bar.java
37 37
  public TwistyBandaged2Bar(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.BAN2, res, scrWidth);
40
    super(size, quat, texture, mesh, effects, moves, res, scrWidth);
41 41
    }
42 42

  
43 43
///////////////////////////////////////////////////////////////////////////////////////////////////
......
115 115
///////////////////////////////////////////////////////////////////////////////////////////////////
116 116
// PUBLIC API
117 117

  
118
  public ObjectList intGetObjectList(int numLayers)
119
    {
120
    return ObjectList.BAN2_3;
121
    }
122

  
123
///////////////////////////////////////////////////////////////////////////////////////////////////
124

  
118 125
  public int getObjectName(int numLayers)
119 126
    {
120 127
    return R.string.bandaged_2bar;

Also available in: Unified diff