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/TwistySquare2.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;
......
306 307

  
307 308
///////////////////////////////////////////////////////////////////////////////////////////////////
308 309

  
309
  public long getSignature()
310
  public ObjectSignature getSignature()
310 311
    {
311
    return ObjectType.SQU2_3.ordinal();
312
    return new ObjectSignature(ObjectType.SQU2_3);
312 313
    }
313 314

  
314 315
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff