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/TwistyContainer.java
25 25
import org.distorted.library.type.Static4D;
26 26
import org.distorted.objectlib.helpers.ObjectFaceShape;
27 27
import org.distorted.objectlib.helpers.ObjectShape;
28
import org.distorted.objectlib.helpers.ObjectSignature;
28 29
import org.distorted.objectlib.scrambling.ScrambleState;
29 30
import org.distorted.objectlib.main.ObjectType;
30 31
import org.distorted.objectlib.main.ShapeHexahedron;
......
344 345

  
345 346
///////////////////////////////////////////////////////////////////////////////////////////////////
346 347

  
347
  public long getSignature()
348
  public ObjectSignature getSignature()
348 349
    {
349
    return ObjectType.CONT_2.ordinal();
350
    return new ObjectSignature(ObjectType.CONT_2);
350 351
    }
351 352

  
352 353
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff