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/TwistyBandaged2Bar.java
102 102
///////////////////////////////////////////////////////////////////////////////////////////////////
103 103
// PUBLIC API
104 104

  
105
  public ObjectType intGetObjectType(int[] numLayers)
105
  public String getShortName()
106 106
    {
107
    return ObjectType.BAN2_3;
107
    return ObjectType.BAN2_3.name();
108
    }
109

  
110
///////////////////////////////////////////////////////////////////////////////////////////////////
111

  
112
  public long getSignature()
113
    {
114
    return ObjectType.BAN2_3.ordinal();
108 115
    }
109 116

  
110 117
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff