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/TwistyContainer.java
325 325

  
326 326
///////////////////////////////////////////////////////////////////////////////////////////////////
327 327

  
328
  public ObjectType intGetObjectType(int[] numLayers)
328
  public String getShortName()
329 329
    {
330
    return ObjectType.CONT_2;
330
    return ObjectType.CONT_2.name();
331
    }
332

  
333
///////////////////////////////////////////////////////////////////////////////////////////////////
334

  
335
  public long getSignature()
336
    {
337
    return ObjectType.CONT_2.ordinal();
331 338
    }
332 339

  
333 340
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff