Project

General

Profile

« Previous | Next » 

Revision 1d581993

Added by Leszek Koltunski about 2 years ago

Introduce ObjectSignature that can incorporate 192-bit signatures (for 5x5x5 bandaged cubes).
ObjectScrambler does not fully work yet.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare1.java
25 25
import org.distorted.library.type.Static4D;
26 26

  
27 27
import org.distorted.objectlib.helpers.ObjectFaceShape;
28
import org.distorted.objectlib.helpers.ObjectSignature;
28 29
import org.distorted.objectlib.main.ObjectType;
29 30
import org.distorted.objectlib.helpers.ObjectShape;
30 31
import org.distorted.objectlib.scrambling.ScrambleState;
......
274 275

  
275 276
///////////////////////////////////////////////////////////////////////////////////////////////////
276 277

  
277
  public long getSignature()
278
  public ObjectSignature getSignature()
278 279
    {
279
    return ObjectType.SQU1_3.ordinal();
280
    return new ObjectSignature(ObjectType.SQU1_3);
280 281
    }
281 282

  
282 283
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff