Revision 36b9ee93
Added by Leszek Koltunski about 3 years ago
src/main/java/org/distorted/tutorial/TutorialPreRender.java | ||
---|---|---|
34 | 34 |
public class TutorialPreRender implements EffectController |
35 | 35 |
{ |
36 | 36 |
private ActionFinishedListener mAddActionListener; |
37 |
private TutorialSurfaceView mView; |
|
37 |
private final TutorialSurfaceView mView;
|
|
38 | 38 |
private boolean mFinishRotation, mRemoveRotation, mAddRotation, |
39 | 39 |
mSetQuat, mChangeObject, mSetupObject, mSolveObject, mScrambleObject, |
40 | 40 |
mInitializeObject, mResetAllTextureMaps, mRemovePatternRotation; |
... | ... | |
335 | 335 |
mAddRotationDuration = duration; |
336 | 336 |
} |
337 | 337 |
|
338 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
339 |
|
|
340 |
public void initializeObject(int[][] moves) |
|
341 |
{ |
|
342 |
mInitializeObject = true; |
|
343 |
mNextMoves = moves; |
|
344 |
} |
|
345 |
|
|
346 | 338 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
347 | 339 |
|
348 | 340 |
public int getNumScrambles() |
... | ... | |
371 | 363 |
} |
372 | 364 |
} |
373 | 365 |
|
374 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
375 |
|
|
376 |
public void resetAllTextureMaps() |
|
377 |
{ |
|
378 |
mResetAllTextureMaps = true; |
|
379 |
} |
|
380 |
|
|
381 | 366 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
382 | 367 |
|
383 | 368 |
public TwistyObject getObject() |
Also available in: Unified diff
Attempt to programmatically catch the 'cube is sometimes not drawn' bug and report it to my server.