Revision 43a4ccff
Added by Leszek Koltunski over 2 years ago
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
simplify sticker/color map.