Project

General

Profile

« Previous | Next » 

Revision 43a4ccff

Added by Leszek Koltunski over 2 years ago

simplify sticker/color map.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistyRedi.java
452 452
    return mStickers[sticker];
453 453
    }
454 454

  
455
///////////////////////////////////////////////////////////////////////////////////////////////////
456

  
457
  protected int getStickerIndex(int face)
458
    {
459
    return face/NUM_FACE_COLORS;
460
    }
461

  
462 455
///////////////////////////////////////////////////////////////////////////////////////////////////
463 456
// PUBLIC API
464 457

  

Also available in: Unified diff