fix anims
This commit is contained in:
@@ -70,7 +70,7 @@ public class MdgaApp extends SimpleApplication {
|
||||
private final TimerManager timerManager = new TimerManager();
|
||||
|
||||
|
||||
public static final int DEBUG_MULTIPLIER = 0;
|
||||
public static final int DEBUG_MULTIPLIER = 1;
|
||||
|
||||
public MdgaApp() {
|
||||
networkConnection = new NetworkSupport(this);
|
||||
|
||||
@@ -120,12 +120,15 @@ private void handleGame(Notification notification) {
|
||||
app.getAcousticHandler().playSound(MdgaSound.BONUS);
|
||||
delay = STANDARD_DELAY;
|
||||
} else if(notification instanceof RankingResponceNotification n) {
|
||||
guiHandler.hideText();
|
||||
n.getRankingResults().forEach((c, i) -> {
|
||||
guiHandler.rollRankingResult(c, i);
|
||||
});
|
||||
delay = STANDARD_DELAY;
|
||||
} else if (notification instanceof ActivePlayerNotification n) {
|
||||
gameView.getGuiHandler().setActivePlayer(n.getColor());
|
||||
guiHandler.hideText();
|
||||
boardHandler.hideDice();
|
||||
gameView.getGuiHandler().setActivePlayer(n.getColor());
|
||||
if(n.getColor() != ownColor) boardHandler.showDice(n.getColor());
|
||||
app.getAcousticHandler().playSound(MdgaSound.UI90);
|
||||
delay = STANDARD_DELAY;
|
||||
@@ -157,6 +160,7 @@ private void handleGame(Notification notification) {
|
||||
ceremonyView.addStatisticsRow(name, v1, v2, v3, v4, v5, v6);
|
||||
}
|
||||
} else if (notification instanceof DiceNowNotification) {
|
||||
guiHandler.hideText();
|
||||
guiHandler.showDice();
|
||||
} else if (notification instanceof DrawCardNotification n) {
|
||||
guiHandler.drawCard(n.getColor());
|
||||
|
||||
Reference in New Issue
Block a user