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/TwistyIvy.java
434 434

  
435 435
///////////////////////////////////////////////////////////////////////////////////////////////////
436 436

  
437
  public ObjectType intGetObjectType(int[] numLayers)
437
  public String getShortName()
438 438
    {
439
    return ObjectType.IVY_2;
439
    return ObjectType.IVY_2.name();
440
    }
441

  
442
///////////////////////////////////////////////////////////////////////////////////////////////////
443

  
444
  public long getSignature()
445
    {
446
    return ObjectType.IVY_2.ordinal();
440 447
    }
441 448

  
442 449
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff