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/TwistyDino.java
262 262
    return mStickers[sticker];
263 263
    }
264 264

  
265
///////////////////////////////////////////////////////////////////////////////////////////////////
266

  
267
  protected int getStickerIndex(int face)
268
    {
269
    return face/NUM_FACE_COLORS;
270
    }
271

  
272 265
///////////////////////////////////////////////////////////////////////////////////////////////////
273 266
// PUBLIC API
274 267

  

Also available in: Unified diff