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/TwistyUltimate.java
356 356

  
357 357
///////////////////////////////////////////////////////////////////////////////////////////////////
358 358

  
359
  public ObjectType intGetObjectType(int[] numLayers)
359
  public String getShortName()
360 360
    {
361
    return ObjectType.ULTI_2;
361
    return ObjectType.ULTI_2.name();
362
    }
363

  
364
///////////////////////////////////////////////////////////////////////////////////////////////////
365

  
366
  public long getSignature()
367
    {
368
    return ObjectType.ULTI_2.ordinal();
362 369
    }
363 370

  
364 371
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff