diff --git a/src/main/java/de/hsfulda/onses/models/Game.java b/src/main/java/de/hsfulda/onses/models/Game.java index 0f9a56c..6a64133 100644 --- a/src/main/java/de/hsfulda/onses/models/Game.java +++ b/src/main/java/de/hsfulda/onses/models/Game.java @@ -18,6 +18,9 @@ public class Game { return lastPlayedCard; } + public void changeLastPlayedCardColor(Card.Color color) { + lastPlayedCard.setColor(color); + } public Game setLastPlayedCard(Card lastPlayedCard) { this.lastPlayedCard = lastPlayedCard; return this;