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);
 }
Exemplo n.º 10
0
 public void showAchievementScreen() {
   switchScreen();
   setScreen(achievementScreen);
 }
Exemplo n.º 11
0
 public void showLevelOverviewScreen(LevelController levelController) {
   switchScreen();
   AbstractScreen newScreen = new LevelsOverviewScreen(this, levelController);
   setScreen(newScreen);
 }
Exemplo n.º 12
0
 public void showLevelPackagesScreen() {
   switchScreen();
   setScreen(levelPackagesScreen);
 }
Exemplo n.º 13
0
 public void showMainMenuScreen(boolean putOnStack) {
   if (putOnStack) {
     switchScreen();
   }
   setScreen(mainMenuScreen);
 }
Exemplo n.º 14
0
 public void showPreviousScreen() {
   Screen previous = screenStack.peek();
   switchScreen();
   setScreen(previous);
 }