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/TwistyRedi.java
75 75
  public TwistyRedi(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
76 76
                    DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
77 77
    {
78
    super(size, size, quat, texture, mesh, effects, moves, ObjectList.REDI, res, scrWidth);
78
    super(size, size, quat, texture, mesh, effects, moves, res, scrWidth);
79 79
    }
80 80

  
81 81
///////////////////////////////////////////////////////////////////////////////////////////////////
......
453 453
    return mBasicAngle;
454 454
    }
455 455

  
456
///////////////////////////////////////////////////////////////////////////////////////////////////
457

  
458
  public ObjectList intGetObjectList(int numLayers)
459
    {
460
    return ObjectList.REDI_3;
461
    }
462

  
456 463
///////////////////////////////////////////////////////////////////////////////////////////////////
457 464

  
458 465
  public int getObjectName(int numLayers)

Also available in: Unified diff