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/TwistyJing.java
444 444
    return mStickers[sticker];
445 445
    }
446 446

  
447
///////////////////////////////////////////////////////////////////////////////////////////////////
448

  
449
  protected int getStickerIndex(int face)
450
    {
451
    return face/NUM_FACE_COLORS;
452
    }
453

  
454 447
///////////////////////////////////////////////////////////////////////////////////////////////////
455 448
// PUBLIC API
456 449

  

Also available in: Unified diff