working on turbocard

This commit is contained in:
Cedric Beck
2024-12-09 03:11:43 +01:00
parent b91d448ee6
commit 536c14bf7c
3 changed files with 4 additions and 33 deletions

View File

@@ -169,8 +169,8 @@ private void handleGame(Notification notification) {
} else if (notification instanceof ThrowPieceNotification n) {
boardHandler.throwPiece(n.getPieceId(), n.getThrowColor());
waitForAnimation = true;
} else if (notification instanceof NoShieldNotification n) {
boardHandler.unshieldPiece(n.getPieceId());
} else if (notification instanceof RemoveShieldNotification n) {
boardHandler.unshieldPiece(n.getPieceUuid());
} else if (notification instanceof PlayCardNotification n) {
if(n.getCard() == BonusCard.TURBO) {
guiHandler.turbo();