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/TwistyVoid.java
395 395

  
396 396
///////////////////////////////////////////////////////////////////////////////////////////////////
397 397

  
398
  public ObjectType intGetObjectType(int[] numLayers)
398
  public String getShortName()
399 399
    {
400
    return ObjectType.VOID_3;
400
    return ObjectType.VOID_3.name();
401
    }
402

  
403
///////////////////////////////////////////////////////////////////////////////////////////////////
404

  
405
  public long getSignature()
406
    {
407
    return ObjectType.VOID_3.ordinal();
401 408
    }
402 409

  
403 410
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff