Project

General

Profile

« Previous | Next » 

Revision abf36986

Added by Leszek Koltunski over 2 years ago

Add Mirror Cube 2x2 and 3x3.

View differences:

src/main/java/org/distorted/objects/TwistyIvy.java
142 142

  
143 143
///////////////////////////////////////////////////////////////////////////////////////////////////
144 144

  
145
  int getNumFaces()
145
  int getNumFaceColors()
146 146
    {
147 147
    return FACE_COLORS.length;
148 148
    }
......
448 448
      for(int s=0; s<NUM_STICKERS; s++) mStickers[s] = new ObjectSticker(STICKERS[s], angles[s],radii[s],strokes[s]);
449 449
      }
450 450

  
451
    return mStickers[face/NUM_FACES];
451
    return mStickers[face/NUM_FACE_COLORS];
452 452
    }
453 453

  
454 454
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff