Revision 277401c0
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/screens/RubikScreenSolution.java | ||
---|---|---|
262 | 262 |
mMovesText.setText(act.getString(R.string.mo_placeholder,mCurrMove,mNumMoves)); |
263 | 263 |
} |
264 | 264 |
|
265 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
|
266 |
|
|
267 |
void setupMoves(final RubikActivity act, int[][] moves) |
|
268 |
{ |
|
269 |
mCanRotate= true; |
|
270 |
mCurrMove = 0; |
|
271 |
mNumMoves = moves==null ? 0 : moves.length; |
|
272 |
mMoves = moves; |
|
273 |
|
|
274 |
mMovesText.setText(act.getString(R.string.mo_placeholder,mCurrMove,mNumMoves)); |
|
275 |
} |
|
276 |
|
|
265 | 277 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
266 | 278 |
|
267 | 279 |
public void savePreferences(SharedPreferences.Editor editor) |
Also available in: Unified diff
Pyraminx Duo solver: solutions (coming from unpacked DB recreated each time) seem to be working.