Development #34
@@ -48,16 +48,16 @@ public class MdgaApp extends SimpleApplication {
|
||||
private final float imageScale = prefs.getInt("scale", 1);
|
||||
|
||||
/** The main menu view. */
|
||||
private MdgaView mainView;
|
||||
private MainView mainView;
|
||||
|
||||
/** The lobby view. */
|
||||
private MdgaView lobbyView;
|
||||
private LobbyView lobbyView;
|
||||
|
||||
/** The game view. */
|
||||
private MdgaView gameView;
|
||||
private GameView gameView;
|
||||
|
||||
/** The ceremony view. */
|
||||
private MdgaView ceremonyView;
|
||||
private CeremonyView ceremonyView;
|
||||
|
||||
/** The client game logic. */
|
||||
private final ClientGameLogic clientGameLogic;
|
||||
@@ -305,6 +305,8 @@ public void afterGameCleanup() {
|
||||
|
||||
main.getJoinDialog().disconnect();
|
||||
main.getHostDialog().shutdownServer();
|
||||
|
||||
ceremonyView.afterGameCleanup();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -206,11 +206,19 @@ public void addCeremonyParticipant(Color color, int pos, String name) {
|
||||
ceremonyButtons.add(button);
|
||||
|
||||
if(state.equals(SubState.AWARD_CEREMONY)) {
|
||||
button.hide();
|
||||
button.show();
|
||||
}
|
||||
}
|
||||
|
||||
public void addStatisticsRow(String name, int v1, int v2, int v3, int v4, int v5, int v6) {
|
||||
ceremonyDialog.addStatisticsRow(name, v1, v2, v3, v4, v5, v6);
|
||||
|
||||
ceremonyDialog.hide();
|
||||
ceremonyDialog.show();
|
||||
}
|
||||
|
||||
public void afterGameCleanup() {
|
||||
ceremonyDialog.prepare();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user