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/TwistyHelicopter.java
454 454
    return mStickers[sticker];
455 455
    }
456 456

  
457
///////////////////////////////////////////////////////////////////////////////////////////////////
458

  
459
  protected int getStickerIndex(int face)
460
    {
461
    return face/NUM_FACE_COLORS;
462
    }
463

  
464 457
///////////////////////////////////////////////////////////////////////////////////////////////////
465 458
// PUBLIC API
466 459

  

Also available in: Unified diff