|
@ -53,7 +53,7 @@ public class GameService { |
|
|
game.addCardToDrawCardDeck(lastCard); |
|
|
game.addCardToDrawCardDeck(lastCard); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void changeColor() { |
|
|
|
|
|
|
|
|
public void chooseColor() { |
|
|
// Abfrage Farbe |
|
|
// Abfrage Farbe |
|
|
Card.Color color = Card.Color.BLUE; //Vorübergehend Blau |
|
|
Card.Color color = Card.Color.BLUE; //Vorübergehend Blau |
|
|
game.changeLastPlayedCardColor(color); |
|
|
game.changeLastPlayedCardColor(color); |
|
@ -84,11 +84,11 @@ public class GameService { |
|
|
nextPlayer(); |
|
|
nextPlayer(); |
|
|
break; |
|
|
break; |
|
|
case CHOOSE: |
|
|
case CHOOSE: |
|
|
changeColor(); |
|
|
|
|
|
|
|
|
chooseColor(); |
|
|
nextPlayer(); |
|
|
nextPlayer(); |
|
|
break; |
|
|
break; |
|
|
case CHOOSEDRAW: |
|
|
case CHOOSEDRAW: |
|
|
changeColor(); |
|
|
|
|
|
|
|
|
chooseColor(); |
|
|
nextPlayer(); |
|
|
nextPlayer(); |
|
|
drawCard(4); |
|
|
drawCard(4); |
|
|
break; |
|
|
break; |
|
|