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/TwistyMinx.java
82 82
  private ScrambleState[] mStates;
83 83
  private int[] mBasicAngle;
84 84
  private int[] mFaceMap;
85
  private Movement mMovement;
85 86
  Static4D[] mQuats;
86 87
  float[][] mCenterCoords;
87 88
  float[][] mCorners;
......
569 570
    return ROT_AXIS;
570 571
    }
571 572

  
573
///////////////////////////////////////////////////////////////////////////////////////////////////
574

  
575
  public Movement getMovement()
576
    {
577
    if( mMovement==null ) mMovement = new MovementMinx();
578
    return mMovement;
579
    }
580

  
572 581
///////////////////////////////////////////////////////////////////////////////////////////////////
573 582

  
574 583
  public int[] getBasicAngle()

Also available in: Unified diff