Revision a8032ae7
Added by Leszek Koltunski 22 days ago
src/main/java/org/distorted/phasedsolver/SolverActivity.java | ||
---|---|---|
320 | 320 |
|
321 | 321 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
322 | 322 |
|
323 |
void addMove(int axis, int row, int angle) |
|
323 |
void addMove(int axis, int rowBitmap, int angle)
|
|
324 | 324 |
{ |
325 | 325 |
if( mCurrMode==0 ) |
326 | 326 |
{ |
327 |
int move = mObject.findMove(axis,row,angle); |
|
327 |
int move = mObject.findMove(axis,rowBitmap,angle);
|
|
328 | 328 |
mText += (" " + move); |
329 | 329 |
|
330 | 330 |
while( mText.length()>28 ) |
src/main/java/org/distorted/phasedsolver/SolverObjectLibInterface.java | ||
---|---|---|
22 | 22 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
23 | 23 |
|
24 | 24 |
SolverObjectLibInterface(SolverActivity act) { mAct = new WeakReference<>(act); } |
25 |
public void onWinEffectFinished(long startTime, long endTime, String debug, int scrambleNum) { }
|
|
25 |
public void onWinEffectFinished(long startTime, long endTime, int scrambleNum) { } |
|
26 | 26 |
public void onScrambleEffectFinished() { } |
27 | 27 |
public void onBeginRotation() { } |
28 | 28 |
public void onSolved() { } |
... | ... | |
43 | 43 |
|
44 | 44 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
45 | 45 |
|
46 |
public void onRemoveRotation(int axis, int row, int angle) |
|
46 |
public void onRemoveRotation(int axis, int rowBitmap, int angle)
|
|
47 | 47 |
{ |
48 | 48 |
SolverActivity act = mAct.get(); |
49 |
act.addMove(axis,row,angle); |
|
49 |
act.addMove(axis,rowBitmap,angle);
|
|
50 | 50 |
} |
51 | 51 |
} |
Also available in: Unified diff
improvements to the API