Project

General

Profile

« Previous | Next » 

Revision 5f54927b

Added by Leszek Koltunski over 2 years ago

Preparation for local creation of puzzles: remove the 'ObjectType' enum from TwistyObject class.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyWindmill.java
405 405

  
406 406
///////////////////////////////////////////////////////////////////////////////////////////////////
407 407

  
408
  public ObjectType intGetObjectType(int[] numLayers)
408
  public String getShortName()
409 409
    {
410
    return ObjectType.WIND_3;
410
    return ObjectType.WIND_3.name();
411
    }
412

  
413
///////////////////////////////////////////////////////////////////////////////////////////////////
414

  
415
  public long getSignature()
416
    {
417
    return ObjectType.WIND_3.ordinal();
411 418
    }
412 419

  
413 420
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff