Project

General

Profile

« Previous | Next » 

Revision f5da732a

Added by Leszek Koltunski almost 3 years ago

Cube Control: step 2.

View differences:

src/main/java/org/distorted/screens/RubikScreenAbstract.java
32 32
  {
33 33
  int getPatternOrdinal()
34 34
    {
35
    RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getStateClass();
35
    RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
36 36
    int obj  = play.getObject();
37 37
    int size = play.getSize();
38 38
    int ret = RubikPatternList.getOrdinal(obj,size);
......
49 49

  
50 50
  int getTutorialOrdinal()
51 51
    {
52
    RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getStateClass();
52
    RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
53 53
    int obj  = play.getObject();
54 54
    int size = play.getSize();
55 55

  
......
65 65

  
66 66
///////////////////////////////////////////////////////////////////////////////////////////////////
67 67

  
68
  abstract void enterState(RubikActivity act);
69
  abstract void leaveState(RubikActivity act);
68
  abstract void enterScreen(RubikActivity act);
69
  abstract void leaveScreen(RubikActivity act);
70 70
  public abstract void savePreferences(SharedPreferences.Editor editor);
71 71
  public abstract void restorePreferences(SharedPreferences preferences);
72 72
  }

Also available in: Unified diff