Revision 591df85c
Added by Leszek Koltunski 12 months ago
| src/main/java/org/distorted/phasedsolver/SolverActivity.java | ||
|---|---|---|
| 218 | 218 |
String llepB = "(12,5,14,5,12,4,14)"; |
| 219 | 219 |
String llepC = "(11,5,9,5,11,4,9)"; |
| 220 | 220 |
String llEdgesPerm = "(3){0,1} ["+llepA+"{-1,0,1};"+llepB+"] "+llepC+"{-1,0,1}";
|
| 221 |
String llEdges = lleoA+" "+lleoA+" "+lleoC+" (3) "+llepA+" "+llepC;//llEdgesOrie+" "+llEdgesPerm;
|
|
| 221 |
String llEdges = llEdgesOrie+" "+llEdgesPerm; |
|
| 222 | 222 |
|
| 223 | 223 |
int[][] yellowCorners= new int[][]{ {4,5,6,7} };
|
| 224 | 224 |
String llcpA = "(5,6,3,9,5,8,3,11)"; |
| src/main/java/org/distorted/phasedsolver/SolverLowerPane.java | ||
|---|---|---|
| 59 | 59 |
{
|
| 60 | 60 |
int len = moves.length; |
| 61 | 61 |
int[][] ret = new int[len][]; |
| 62 |
int mult = back ? -1:1;
|
|
| 62 |
int mult = back ? 1:-1;
|
|
| 63 | 63 |
|
| 64 | 64 |
for(int m=0; m<len; m++) |
| 65 | 65 |
{
|
| ... | ... | |
| 106 | 106 |
int[] move = mMoves[--mCurrMove]; |
| 107 | 107 |
mControl = act.getControl(); |
| 108 | 108 |
mControl.blockTouch(MOVES_PLACE_0); |
| 109 |
mControl.addRotation(this, move[0], (1<<move[1]), move[2], MILLIS_PER_DEGREE); |
|
| 109 |
mControl.addRotation(this, move[0], (1<<move[1]), -move[2], MILLIS_PER_DEGREE);
|
|
| 110 | 110 |
} |
| 111 | 111 |
else |
| 112 | 112 |
{
|
| ... | ... | |
| 132 | 132 |
int[] move = mMoves[mCurrMove++]; |
| 133 | 133 |
mControl = act.getControl(); |
| 134 | 134 |
mControl.blockTouch(MOVES_PLACE_1); |
| 135 |
mControl.addRotation(this, move[0], (1<<move[1]), -move[2], MILLIS_PER_DEGREE);
|
|
| 135 |
mControl.addRotation(this, move[0], (1<<move[1]), move[2], MILLIS_PER_DEGREE); |
|
| 136 | 136 |
} |
| 137 | 137 |
else |
| 138 | 138 |
{
|
Also available in: Unified diff
Bugfixes