Revision 6f5eb9b3
Added by Leszek Koltunski 2 months ago
src/main/java/org/distorted/objectlib/main/ObjectPreRender.java | ||
---|---|---|
60 | 60 |
private float mFinishAngle, mAvgSpeed; |
61 | 61 |
private long mScrambleStartTime, mScrambleEndTime; |
62 | 62 |
private int mIconMode; |
63 |
private float mTextureBorders, mTextureCorners; |
|
64 | 63 |
|
65 | 64 |
// debugging only |
66 | 65 |
private long mAddRotationTime; |
... | ... | |
390 | 389 |
private void repaintPuzzleFaceNow() |
391 | 390 |
{ |
392 | 391 |
mRepaintPuzzleFace = false; |
393 |
if( mNewObject!=null ) mNewObject.repaintPuzzleFace(mCubit,mFace,mNewColor,mTextureBorders,mTextureCorners);
|
|
392 |
if( mNewObject!=null ) mNewObject.repaintPuzzleFace(mCubit,mFace,mNewColor); |
|
394 | 393 |
} |
395 | 394 |
|
396 | 395 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
473 | 472 |
|
474 | 473 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
475 | 474 |
|
476 |
public void repaintPuzzleFace(int cubit, int face, int newColor, float borders, float corners)
|
|
475 |
public void repaintPuzzleFace(int cubit, int face, int newColor) |
|
477 | 476 |
{ |
478 | 477 |
mRepaintPuzzleFace = true; |
479 | 478 |
|
480 | 479 |
mCubit = cubit; |
481 | 480 |
mFace = face; |
482 | 481 |
mNewColor = newColor; |
483 |
mTextureBorders = borders; |
|
484 |
mTextureCorners = corners; |
|
485 | 482 |
} |
486 | 483 |
|
487 | 484 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
progress with configurable stickers