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

  
43 43
///////////////////////////////////////////////////////////////////////////////////////////////////
......
246 246
///////////////////////////////////////////////////////////////////////////////////////////////////
247 247
// PUBLIC API
248 248

  
249
  public ObjectList intGetObjectList(int numLayers)
250
    {
251
    return ObjectList.BAN4_3;
252
    }
253

  
254
///////////////////////////////////////////////////////////////////////////////////////////////////
255

  
249 256
  public int getObjectName(int numLayers)
250 257
    {
251 258
    return R.string.bandaged_evil;

Also available in: Unified diff