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/TwistyDino4.java
41 41
  public TwistyDino4(int size, Static4D quat, DistortedTexture texture, MeshSquare mesh,
42 42
                     DistortedEffects effects, int[][] moves, Resources res, int scrWidth)
43 43
    {
44
    super(size, quat, texture, mesh, effects, moves, ObjectList.DIN4, res, scrWidth);
44
    super(size, quat, texture, mesh, effects, moves, res, scrWidth);
45 45
    }
46 46

  
47 47
///////////////////////////////////////////////////////////////////////////////////////////////////
......
96 96
    return true;
97 97
    }
98 98

  
99
///////////////////////////////////////////////////////////////////////////////////////////////////
100

  
101
  public ObjectList intGetObjectList(int numLayers)
102
    {
103
    return ObjectList.DIN4_3;
104
    }
105

  
99 106
///////////////////////////////////////////////////////////////////////////////////////////////////
100 107

  
101 108
  public int getObjectName(int numLayers)

Also available in: Unified diff