Revision f5da732a
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/dialogs/RubikDialogSetName.java | ||
---|---|---|
144 | 144 |
name = name.replace(' ', '_'); |
145 | 145 |
|
146 | 146 |
RubikActivity act = (RubikActivity)getActivity(); |
147 |
ScreenList.switchState(act, ScreenList.PLAY);
|
|
147 |
ScreenList.switchScreen(act, ScreenList.PLAY);
|
|
148 | 148 |
RubikScores.getInstance().setName(name); |
149 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getStateClass();
|
|
149 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
|
|
150 | 150 |
|
151 | 151 |
int object = play.getObject(); |
152 | 152 |
int size = play.getSize(); |
Also available in: Unified diff
Cube Control: step 2.