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/RubikScreenSolving.java
56 56

  
57 57
///////////////////////////////////////////////////////////////////////////////////////////////////
58 58

  
59
  void leaveState(RubikActivity act)
59
  void leaveScreen(RubikActivity act)
60 60
    {
61 61
    stopCounting();
62 62
    }
63 63

  
64 64
///////////////////////////////////////////////////////////////////////////////////////////////////
65 65

  
66
  void enterState(final RubikActivity act)
66
  void enterScreen(final RubikActivity act)
67 67
    {
68 68
    float width = act.getScreenWidthInPixels();
69 69
    float titleSize  = width*RubikActivity.TITLE_TEXT_SIZE;
......
171 171

  
172 172
      mElapsed = System.currentTimeMillis()-mStartTime;
173 173

  
174
      RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getStateClass();
174
      RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
175 175
      int object  = play.getObject();
176 176
      int size    = play.getSize();
177 177
      int level   = play.getLevel();

Also available in: Unified diff