Revision 6ce1c284
Added by Leszek Koltunski 13 days ago
src/main/java/org/distorted/phasedsolver/SolverActivity.java | ||
---|---|---|
22 | 22 |
|
23 | 23 |
import org.distorted.library.main.DistortedLibrary; |
24 | 24 |
import org.distorted.objectlib.algsolvers.*; |
25 |
import org.distorted.objectlib.algsolvers.implemented.Solver3x3Beginner;
|
|
25 |
import org.distorted.objectlib.algsolvers.implemented.SolverKilominx;
|
|
26 | 26 |
import org.distorted.objectlib.main.InitAssets; |
27 | 27 |
import org.distorted.objectlib.main.ObjectControl; |
28 | 28 |
import org.distorted.objectlib.main.TwistyObject; |
... | ... | |
40 | 40 |
private SolvedObject mObject; |
41 | 41 |
private String mMoves; |
42 | 42 |
private int mNumMoves; |
43 |
private Solver3x3Beginner mBeginner;
|
|
43 |
private SolverKilominx mBeginner;
|
|
44 | 44 |
private long mTime; |
45 | 45 |
|
46 | 46 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
... | ... | |
59 | 59 |
mMoves = ""; |
60 | 60 |
mNumMoves = 0; |
61 | 61 |
|
62 |
mBeginner = new Solver3x3Beginner();
|
|
62 |
mBeginner = new SolverKilominx();
|
|
63 | 63 |
mObject = mBeginner.getObject(); |
64 | 64 |
|
65 | 65 |
int numPhases = mBeginner.getNumPhases(); |
... | ... | |
95 | 95 |
restorePreferences(); |
96 | 96 |
|
97 | 97 |
ObjectControl control = getControl(); |
98 |
control.changeObject(ListObjects.CUBE_3.ordinal(), MODE_NORM, mAsset);
|
|
98 |
control.changeObject(ListObjects.KILO_3.ordinal(), MODE_NORM, mAsset);
|
|
99 | 99 |
} |
100 | 100 |
|
101 | 101 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Beginnings of SolverKilominx