Revision 43a4ccff
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/objectlib/objects/TwistyPyraminx.java | ||
---|---|---|
433 | 433 |
return mStickers[sticker]; |
434 | 434 |
} |
435 | 435 |
|
436 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
437 |
|
|
438 |
protected int getStickerIndex(int face) |
|
439 |
{ |
|
440 |
return face/NUM_FACE_COLORS; |
|
441 |
} |
|
442 |
|
|
443 | 436 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
444 | 437 |
// public API |
445 | 438 |
|
Also available in: Unified diff
simplify sticker/color map.