merge dev into test #28
@@ -28,9 +28,6 @@ public class ModelSynchronizer {
|
||||
this.app = app;
|
||||
}
|
||||
|
||||
private Color testColor;
|
||||
private int test = 0;
|
||||
|
||||
public void animationEnd() {
|
||||
app.getGameLogic().selectAnimationEnd();
|
||||
}
|
||||
@@ -135,35 +132,6 @@ public void leave() {
|
||||
|
||||
public void enter(MdgaState state) {
|
||||
LOGGER.log(Level.INFO, "enter: {0}", state);
|
||||
app.enter(state);
|
||||
|
||||
if (state == MdgaState.CEREMONY) {
|
||||
CeremonyView ceremonyView = (CeremonyView) app.getView();
|
||||
ceremonyView.addCeremonyParticipant(Color.AIRFORCE, 1, "ugidffdg");
|
||||
ceremonyView.addCeremonyParticipant(Color.ARMY, 2, "ugidffdg");
|
||||
ceremonyView.addCeremonyParticipant(Color.NAVY, 3, "ugidffdg");
|
||||
ceremonyView.addCeremonyParticipant(Color.CYBER, 4, "ugidffdg");
|
||||
|
||||
ceremonyView.addStatisticsRow("player sdgsd", 1, 2, 3, 4, 5, 6);
|
||||
ceremonyView.addStatisticsRow("player sdgsd", 1, 2, 3, 4, 5, 6);
|
||||
ceremonyView.addStatisticsRow("player sdgsd", 1, 2, 3, 4, 5, 6);
|
||||
ceremonyView.addStatisticsRow("player sdgsd", 1, 2, 3, 4, 5, 6);
|
||||
ceremonyView.addStatisticsRow("Gesamt", 1, 2, 3, 4, 5, 6);
|
||||
}
|
||||
|
||||
if (state == MdgaState.GAME) {
|
||||
GameView gameView = (GameView) app.getView();
|
||||
|
||||
//app.getNotificationSynchronizer().addTestNotification(new DrawCardNotification(Color.AIRFORCE, BonusCard.SHIELD));
|
||||
selectPiece(UUID.randomUUID());
|
||||
}
|
||||
|
||||
if (state == MdgaState.LOBBY) {
|
||||
LobbyView lobbyView = (LobbyView) app.getView();
|
||||
|
||||
app.getNotificationSynchronizer().addTestNotification(new TskSelectNotification(Color.CYBER, "blablabupp", false));
|
||||
app.getNotificationSynchronizer().addTestNotification(new TskSelectNotification(Color.ARMY, "Spieler 2", false));
|
||||
lobbyView.setReady(Color.ARMY, true);
|
||||
}
|
||||
//app.enter(state);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user