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/TwistyWindmill.java
26 26

  
27 27
import org.distorted.objectlib.helpers.ObjectFaceShape;
28 28
import org.distorted.objectlib.helpers.ObjectShape;
29
import org.distorted.objectlib.helpers.ObjectSignature;
29 30
import org.distorted.objectlib.scrambling.ScrambleState;
30 31
import org.distorted.objectlib.main.ObjectType;
31 32
import org.distorted.objectlib.main.ShapeHexahedron;
......
424 425

  
425 426
///////////////////////////////////////////////////////////////////////////////////////////////////
426 427

  
427
  public long getSignature()
428
  public ObjectSignature getSignature()
428 429
    {
429
    return ObjectType.WIND_3.ordinal();
430
    return new ObjectSignature(ObjectType.WIND_3);
430 431
    }
431 432

  
432 433
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff