Project

General

Profile

« Previous | Next » 

Revision e9a87113

Added by Leszek Koltunski over 2 years ago

Move the Movement class from ObjectList to individual object classes.

View differences:

src/main/java/org/distorted/objects/TwistySquare.java
54 54
    };
55 55

  
56 56
  private int[] mBasicAngle;
57
  private Movement mMovement;
57 58
  Static4D[] mQuats;
58 59

  
59 60
///////////////////////////////////////////////////////////////////////////////////////////////////
......
170 171
    return ROT_AXIS;
171 172
    }
172 173

  
174
///////////////////////////////////////////////////////////////////////////////////////////////////
175

  
176
  public Movement getMovement()
177
    {
178
    if( mMovement==null ) mMovement = new MovementSquare();
179
    return mMovement;
180
    }
181

  
173 182
///////////////////////////////////////////////////////////////////////////////////////////////////
174 183

  
175 184
  public int[] getBasicAngle()

Also available in: Unified diff