wrote getter for ceremonyview in mdga app
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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user