Revision 400ff34d
Added by Leszek Koltunski over 2 years ago
src/main/java/org/distorted/screens/RubikScreenSolver.java | ||
---|---|---|
40 | 40 |
import org.distorted.helpers.TransparentImageButton; |
41 | 41 |
import org.distorted.main.R; |
42 | 42 |
import org.distorted.main.RubikActivity; |
43 |
import org.distorted.objects.RubikObjectList; |
|
43 | 44 |
import org.distorted.solvers.ImplementedSolversList; |
44 | 45 |
import org.distorted.solvers.SolverMain; |
45 | 46 |
|
... | ... | |
86 | 87 |
act.changeIfDifferent(currentObject,control); |
87 | 88 |
control.solveOnly(); |
88 | 89 |
|
89 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass(); |
|
90 |
play.setObject(act, currentObject); |
|
90 |
RubikObjectList.setCurrObject(act, currentObject); |
|
91 | 91 |
|
92 | 92 |
generateFaceColors(); |
93 | 93 |
|
Also available in: Unified diff
Move the 'currObject' from RubikScreenPlay (WTF?) to RubikObjectList.