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/TwistyDiamond.java
553 553
    return mStickers[sticker];
554 554
    }
555 555

  
556
///////////////////////////////////////////////////////////////////////////////////////////////////
557

  
558
  protected int getStickerIndex(int face)
559
    {
560
    return face/NUM_FACE_COLORS;
561
    }
562

  
563 556
///////////////////////////////////////////////////////////////////////////////////////////////////
564 557
// PUBLIC API
565 558

  

Also available in: Unified diff