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/TwistyPyraminx.java
53 53
  private int[] mBasicAngle;
54 54
  private Static4D[] mQuats;
55 55
  private ObjectSticker[] mStickers;
56
  private Movement mMovement;
56 57

  
57 58
///////////////////////////////////////////////////////////////////////////////////////////////////
58 59

  
......
394 395
    return ROT_AXIS;
395 396
    }
396 397

  
398
///////////////////////////////////////////////////////////////////////////////////////////////////
399

  
400
  public Movement getMovement()
401
    {
402
    if( mMovement==null ) mMovement = new MovementPyraminx();
403
    return mMovement;
404
    }
405

  
397 406
///////////////////////////////////////////////////////////////////////////////////////////////////
398 407

  
399 408
  public int[] getBasicAngle()

Also available in: Unified diff