Changeset 95509e1 in galcon-client for src/com/example/helloandroid/Game.java
- Timestamp:
- Jun 5, 2010, 7:01:47 PM (15 years ago)
- Branches:
- master
- Children:
- c65ef39
- Parents:
- 61c4fbc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/example/helloandroid/Game.java
r61c4fbc r95509e1 75 75 mThread.unpause(); 76 76 return true; 77 case MENU_EASY:78 mThread.setDifficulty(DrawingThread.DIFFICULTY_EASY);79 return true;80 case MENU_MEDIUM:81 mThread.setDifficulty(DrawingThread.DIFFICULTY_MEDIUM);82 return true;83 case MENU_HARD:84 mThread.setDifficulty(DrawingThread.DIFFICULTY_HARD);85 return true;86 77 } 87 78 … … 113 104 // we were just launched: set up a new game 114 105 mThread.setState(DrawingThread.STATE_RUNNING); 115 Log.w( this.getClass().getName(), "SIS is null");106 Log.w("Galcon", "SIS is null"); 116 107 } else { 117 // we are being restored: resume a previous game 118 mThread.restoreState(savedInstanceState); 119 Log.w(this.getClass().getName(), "SIS is nonnull"); 108 Log.w("Galcon", "SIS is nonnull"); 120 109 } 121 110 } … … 140 129 // just have the View's thread save its state into our Bundle 141 130 super.onSaveInstanceState(outState); 142 mThread.saveState(outState); 143 Log.w(this.getClass().getName(), "SIS called"); 131 Log.w("Galcon", "SIS called"); 144 132 } 145 133 }
Note:
See TracChangeset
for help on using the changeset viewer.