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/TwistyAxis.java
23 23
import org.distorted.library.type.Static4D;
24 24
import org.distorted.objectlib.helpers.ObjectFaceShape;
25 25
import org.distorted.objectlib.helpers.ObjectShape;
26
import org.distorted.objectlib.helpers.ObjectSignature;
26 27
import org.distorted.objectlib.scrambling.ScrambleState;
27 28
import org.distorted.objectlib.main.ObjectType;
28 29
import org.distorted.objectlib.main.ShapeHexahedron;
......
490 491

  
491 492
///////////////////////////////////////////////////////////////////////////////////////////////////
492 493

  
493
  public long getSignature()
494
  public ObjectSignature getSignature()
494 495
    {
495
    return ObjectType.AXIS_3.ordinal();
496
    return new ObjectSignature(ObjectType.AXIS_3);
496 497
    }
497 498

  
498 499
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff