Merge commit
This commit is contained in:
@@ -88,7 +88,7 @@ public class MdgaApp extends SimpleApplication {
|
|||||||
private final TimerManager timerManager = new TimerManager();
|
private final TimerManager timerManager = new TimerManager();
|
||||||
|
|
||||||
|
|
||||||
public static final int DEBUG_MULTIPLIER = 1;
|
public static final int DEBUG_MULTIPLIER = 0;
|
||||||
|
|
||||||
public MdgaApp() {
|
public MdgaApp() {
|
||||||
networkConnection = new NetworkSupport(this);
|
networkConnection = new NetworkSupport(this);
|
||||||
@@ -351,5 +351,9 @@ public GameView getGameView() {
|
|||||||
public TimerManager getTimerManager() {
|
public TimerManager getTimerManager() {
|
||||||
return timerManager;
|
return timerManager;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public CeremonyView getCeremonyView() {
|
||||||
|
return ceremonyView;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ private void handleGame(Notification notification) {
|
|||||||
app.getAcousticHandler().playSound(MdgaSound.UI90);
|
app.getAcousticHandler().playSound(MdgaSound.UI90);
|
||||||
delay = STANDARD_DELAY;
|
delay = STANDARD_DELAY;
|
||||||
} else if (notification instanceof CeremonyNotification ceremonyNotification) {
|
} else if (notification instanceof CeremonyNotification ceremonyNotification) {
|
||||||
CeremonyView ceremonyView = app.ceremonyView;
|
CeremonyView ceremonyView = app.getCeremonyView();
|
||||||
int size = ceremonyNotification.getNames().size();
|
int size = ceremonyNotification.getNames().size();
|
||||||
|
|
||||||
if (ceremonyNotification.getPiecesThrown().size() != size ||
|
if (ceremonyNotification.getPiecesThrown().size() != size ||
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import pp.mdga.client.ClientGameLogic;
|
import pp.mdga.client.ClientGameLogic;
|
||||||
import pp.mdga.client.ClientState;
|
import pp.mdga.client.ClientState;
|
||||||
|
import pp.mdga.notification.StartDialogNotification;
|
||||||
|
|
||||||
public class StatisticsState extends CeremonyStates {
|
public class StatisticsState extends CeremonyStates {
|
||||||
|
|
||||||
@@ -36,6 +37,7 @@ public void exit() {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void selectNext() {
|
public void selectNext() {
|
||||||
|
logic.addNotification(new StartDialogNotification());
|
||||||
logic.setState(logic.getDialogs());
|
logic.setState(logic.getDialogs());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user