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/TwistyDino6.java
41 41
  public TwistyDino6(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.DINO, res, scrWidth);
44
    super(size, quat, texture, mesh, effects, moves, res, scrWidth);
45 45
    }
46 46

  
47 47
///////////////////////////////////////////////////////////////////////////////////////////////////
......
98 98
    return 2;
99 99
    }
100 100

  
101
///////////////////////////////////////////////////////////////////////////////////////////////////
102

  
103
  public ObjectList intGetObjectList(int numLayers)
104
    {
105
    return ObjectList.DINO_3;
106
    }
107

  
101 108
///////////////////////////////////////////////////////////////////////////////////////////////////
102 109

  
103 110
  public int getObjectName(int numLayers)

Also available in: Unified diff