Project

General

Profile

« Previous | Next » 

Revision efa81f0c

Added by Leszek Koltunski over 2 years ago

Introduce abstract 4,6,8 adn 12 classes.

View differences:

src/main/java/org/distorted/objects/TwistySquare1.java
334 334
      }
335 335

  
336 336
    int variant = getCubitVariant(cubit,numLayers);
337
    return mStickerType[variant][cubitface]*FACE_COLORS.length + mStickerColor[cubit][cubitface];
337
    return 6*mStickerType[variant][cubitface] + mStickerColor[cubit][cubitface];
338 338
    }
339 339

  
340 340
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff