Add RankingResponceNotification
This commit is contained in:
@@ -119,6 +119,10 @@ private void handleGame(Notification notification) {
|
||||
guiHandler.addCardOwn(n.getBonusCard());
|
||||
app.getAcousticHandler().playSound(MdgaSound.BONUS);
|
||||
delay = STANDARD_DELAY;
|
||||
} else if(notification instanceof RankingResponceNotification n) {
|
||||
n.getRankingResults().forEach((c, i) -> {
|
||||
guiHandler.rollRankingResult(c, i);
|
||||
});
|
||||
} else if (notification instanceof ActivePlayerNotification n) {
|
||||
gameView.getGuiHandler().setActivePlayer(n.getColor());
|
||||
boardHandler.hideDice();
|
||||
|
||||
Reference in New Issue
Block a user