adjusted the getter for the card in the intro to get BonusCards instead of PowerCards

This commit is contained in:
Hanno Fleischer
2024-12-06 02:16:58 +01:00
parent 16afe95aa6
commit f36e2ff7bb

View File

@@ -49,9 +49,9 @@ public void enter() {
logic.getGame().getBoard().getInfield()[entry.getValue().getStartNodeIndex()].setOccupant(entry.getValue().getPieces()[0]); logic.getGame().getBoard().getInfield()[entry.getValue().getStartNodeIndex()].setOccupant(entry.getValue().getPieces()[0]);
animationCounter++; animationCounter++;
if(entry.getKey() == logic.getOwnPlayerId()){ if(entry.getKey() == logic.getOwnPlayerId()){
logic.addNotification(new AcquireCardNotification(entry.getValue().getHandCards().get(0))); logic.addNotification(new AcquireCardNotification(entry.getValue().getHandCards().get(0).getCard()));
} else { } else {
logic.addNotification(new DrawCardNotification(entry.getValue().getColor(), entry.getValue().getHandCards().get(0))); logic.addNotification(new DrawCardNotification(entry.getValue().getColor(), entry.getValue().getHandCards().get(0).getCard()));
} }
} }
} }