public void showProfileSetAvatarScreen(String name, boolean putOnStack) {
   if (putOnStack) {
     switchScreen();
   }
   profileSetAvatarScreen.setProfileName(name);
   setScreen(profileSetAvatarScreen);
 }
 public void showLevelTerminatedScreen(GameController gameController) {
   switchScreen();
   setScreen(new LevelTerminatedScreen(this, gameController));
 }
 public void showCreditsScreen() {
   switchScreen();
   setScreen(creditsScreen);
 }
 public void showSimulationModeScreen(GameController gameController) throws IllegalBoardException {
   switchScreen();
   setScreen(new SimulationModeScreen(this, gameController));
 }
 public void showPlacementModeScreen(GameController gameController) {
   switchScreen();
   setScreen(gameController.createPlacementScreen(this));
 }
 public void showSelectProfileScreen() {
   switchScreen();
   setScreen(selectProfileScreen);
 }
 public void showProfileSetNameScreen(boolean putOnStack) {
   if (putOnStack) {
     switchScreen();
   }
   setScreen(profileSetNameScreen);
 }
 public void showSettingsScreen(boolean putOnStack) {
   if (putOnStack) {
     switchScreen();
   }
   setScreen(settingsScreen);
 }
 public void showStatisticScreen() {
   switchScreen();
   setScreen(statisticScreen);
 }
예제 #10
0
 public void showAchievementScreen() {
   switchScreen();
   setScreen(achievementScreen);
 }
예제 #11
0
 public void showLevelOverviewScreen(LevelController levelController) {
   switchScreen();
   AbstractScreen newScreen = new LevelsOverviewScreen(this, levelController);
   setScreen(newScreen);
 }
예제 #12
0
 public void showLevelPackagesScreen() {
   switchScreen();
   setScreen(levelPackagesScreen);
 }
예제 #13
0
 public void showMainMenuScreen(boolean putOnStack) {
   if (putOnStack) {
     switchScreen();
   }
   setScreen(mainMenuScreen);
 }
예제 #14
0
 public void showPreviousScreen() {
   Screen previous = screenStack.peek();
   switchScreen();
   setScreen(previous);
 }