Project

General

Profile

« Previous | Next » 

Revision 9c2f0c91

Added by Leszek Koltunski over 3 years ago

Rename some classes.

View differences:

src/main/java/org/distorted/objects/Cubit.java
31 31
  {
32 32
  private final Static3D mOrigPosition;
33 33

  
34
  private RubikObject mParent;
34
  private TwistyObject mParent;
35 35
  private Static3D mCurrentPosition;
36 36
  private int mNumAxis;
37 37

  
......
40 40

  
41 41
///////////////////////////////////////////////////////////////////////////////////////////////////
42 42

  
43
  Cubit(RubikObject parent, Static3D position)
43
  Cubit(TwistyObject parent, Static3D position)
44 44
    {
45 45
    float x = position.get0();
46 46
    float y = position.get1();
......
167 167
      {
168 168
      row = (int)(mRotationRow[axis]+0.5f);
169 169
      result += (1<<(row+accumulativeShift));
170
      accumulativeShift += RubikObjectList.MAX_OBJECT_SIZE;
170
      accumulativeShift += ObjectList.MAX_OBJECT_SIZE;
171 171
      }
172 172

  
173 173
    return result;

Also available in: Unified diff