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/TwistyIvy.java
486 486
    return mStickers[sticker];
487 487
    }
488 488

  
489
///////////////////////////////////////////////////////////////////////////////////////////////////
490

  
491
  protected int getStickerIndex(int face)
492
    {
493
    return face/NUM_FACE_COLORS;
494
    }
495

  
496 489
///////////////////////////////////////////////////////////////////////////////////////////////////
497 490
// PUBLIC API
498 491

  

Also available in: Unified diff