Revision fcd5b990
Added by Leszek Koltunski almost 3 years ago
src/main/java/org/distorted/dialogs/RubikDialogSetName.java | ||
---|---|---|
42 | 42 |
import org.distorted.main.RubikActivity; |
43 | 43 |
import org.distorted.objects.ObjectList; |
44 | 44 |
import org.distorted.network.RubikScores; |
45 |
import org.distorted.states.StateList;
|
|
46 |
import org.distorted.states.RubikStatePlay;
|
|
45 |
import org.distorted.screens.ScreenList;
|
|
46 |
import org.distorted.screens.RubikScreenPlay;
|
|
47 | 47 |
|
48 | 48 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
49 | 49 |
|
... | ... | |
144 | 144 |
name = name.replace(' ', '_'); |
145 | 145 |
|
146 | 146 |
RubikActivity act = (RubikActivity)getActivity(); |
147 |
StateList.switchState(act, StateList.PLAY);
|
|
147 |
ScreenList.switchState(act, ScreenList.PLAY);
|
|
148 | 148 |
RubikScores.getInstance().setName(name); |
149 |
RubikStatePlay play = (RubikStatePlay) StateList.PLAY.getStateClass();
|
|
149 |
RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getStateClass();
|
|
150 | 150 |
|
151 | 151 |
int object = play.getObject(); |
152 | 152 |
int size = play.getSize(); |
Also available in: Unified diff
Rename 'state' to 'screen'