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/TwistyRex.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;
......
376 377

  
377 378
///////////////////////////////////////////////////////////////////////////////////////////////////
378 379

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

  
384 385
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff