Revision 69341f31
Added by Leszek Koltunski over 4 years ago
| src/main/java/org/distorted/objects/TwistyBandaged3Plate.java | ||
|---|---|---|
| 131 | 131 |
// 9 more and 'insignificant' - i.e. States which only permit rotation along a single axis. |
| 132 | 132 |
// When doing an automatic scramble, we never want to enter such 'insignificant' states because |
| 133 | 133 |
// that would mean we'd have to do two rotations in a row along the same axis. |
| 134 |
// |
|
| 135 |
// 4th State's first ('x') array being '2,-1,10, 2, 2,13' means the following:
|
|
| 136 |
// if we are in the 4th state, and make move (2,-1) [i.e. rotation along the X axis, 2nd row, -1 angle] |
|
| 137 |
// then we will land in state 10. If we make move (2,2), we will land in state 13. There are no other |
|
| 138 |
// 'x' moves that lead to a 'significant' state. |
|
| 134 | 139 |
|
| 135 | 140 |
private final State[] mStates = new State[] |
| 136 | 141 |
{
|
Also available in: Unified diff
Comment.