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/TwistyRex.java
384 384

  
385 385
///////////////////////////////////////////////////////////////////////////////////////////////////
386 386

  
387
  public ObjectType intGetObjectType(int[] numLayers)
387
  public String getShortName()
388 388
    {
389
    return ObjectType.REX_3;
389
    return ObjectType.REX_3.name();
390
    }
391

  
392
///////////////////////////////////////////////////////////////////////////////////////////////////
393

  
394
  public long getSignature()
395
    {
396
    return ObjectType.REX_3.ordinal();
390 397
    }
391 398

  
392 399
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff