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/TwistyTrajber.java
392 392

  
393 393
///////////////////////////////////////////////////////////////////////////////////////////////////
394 394

  
395
  public ObjectType intGetObjectType(int[] numLayers)
395
  public String getShortName()
396 396
    {
397
    return ObjectType.TRAJ_3;
397
    return ObjectType.TRAJ_3.name();
398
    }
399

  
400
///////////////////////////////////////////////////////////////////////////////////////////////////
401

  
402
  public long getSignature()
403
    {
404
    return ObjectType.TRAJ_3.ordinal();
398 405
    }
399 406

  
400 407
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff