Project

General

Profile

« Previous | Next » 

Revision ec42a6fe

Added by Leszek Koltunski over 2 years ago

Finally move the 'getVariantFaceColor()' method to the base class.

View differences:

src/main/java/org/distorted/objectlib/objects/TwistySquare2.java
302 302
    return mStickerColor[cubit][face];
303 303
    }
304 304

  
305
///////////////////////////////////////////////////////////////////////////////////////////////////
306

  
307
  public int getVariantFaceColor(int variant, int face, int[] numLayers)
308
    {
309
    return face>=mStickerVariants[variant].length ? -1 : mStickerVariants[variant][face];
310
    }
311

  
312 305
///////////////////////////////////////////////////////////////////////////////////////////////////
313 306

  
314 307
  public float getStickerRadius()

Also available in: Unified diff