Changeset 205f525 in advance-wars for src/com/example/advancewars/Game.java
- Timestamp:
- Jan 30, 2011, 8:26:19 PM (14 years ago)
- Branches:
- master
- Children:
- 26a9fd6, a0f5455
- Parents:
- 90838a1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/example/advancewars/Game.java
r90838a1 r205f525 52 52 this.finish(); 53 53 break; 54 case MENU_NEW:55 break;56 54 } 57 55 … … 67 65 @Override 68 66 protected void onCreate(Bundle savedInstanceState) { 69 Log.w(" Blackjack", "We're inside onCreate");67 Log.w("AdvanceWars", "We're inside onCreate"); 70 68 71 69 super.onCreate(savedInstanceState); 72 70 73 Log.w(" Blackjack", "the super constructor was called successfully");71 Log.w("AdvanceWars", "the super constructor was called successfully"); 74 72 75 73 // turn off the window's title bar … … 81 79 mGameView = (GameView) findViewById(R.id.lunar); 82 80 mThread = mGameView.getThread(); 81 mGameView.mGame = this; 83 82 84 83 mGameView.setTextView((TextView) findViewById(R.id.text)); 85 84 86 85 if (savedInstanceState == null) { // we were just launched: set up a new game 87 Log.w(" Blackjack", "SIS is null");86 Log.w("AdvanceWars", "SIS is null"); 88 87 89 88 mThread.setState(AppState.RUNNING); 90 89 } else { 91 Log.w(" Blackjack", "SIS is nonnull");90 Log.w("AdvanceWars", "SIS is nonnull"); 92 91 93 92 mThread.setState(AppState.RUNNING);
Note:
See TracChangeset
for help on using the changeset viewer.