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/TwistyRedi.java
28 28
import org.distorted.library.type.Static4D;
29 29

  
30 30
import org.distorted.objectlib.helpers.ObjectFaceShape;
31
import org.distorted.objectlib.helpers.ObjectSignature;
31 32
import org.distorted.objectlib.touchcontrol.TouchControlHexahedron;
32 33
import org.distorted.objectlib.main.ObjectType;
33 34
import org.distorted.objectlib.helpers.ObjectShape;
......
377 378

  
378 379
///////////////////////////////////////////////////////////////////////////////////////////////////
379 380

  
380
  public long getSignature()
381
  public ObjectSignature getSignature()
381 382
    {
382
    return ObjectType.REDI_3.ordinal();
383
    return new ObjectSignature(ObjectType.REDI_3);
383 384
    }
384 385

  
385 386
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff