enabled JUnit Testing

This commit is contained in:
Johannes Schmelz 2024-06-10 15:09:43 +02:00
parent bd81bd07ad
commit 0f91dc2a13
3 changed files with 6 additions and 3 deletions

Binary file not shown.

Binary file not shown.

View File

@ -12,10 +12,13 @@ public class Normal implements GameState{
public void addPlayer(Player player){} public void addPlayer(Player player){}
public void startGame(){} public void startGame(){}
public void finishGame(){} public void finishGame(){
public void cancelGame(){ // Logic for finishing Game ????
if (handler.getGame().getPlayerHandler().getPlayers().isEmpty()) {
handler.setGameState(new Finished(handler));
} }
}
public void cancelGame(){}
public void chooseCard(Card c){} public void chooseCard(Card c){}
public void chooseSuit(Suit suit){} public void chooseSuit(Suit suit){}
public void skip(){} public void skip(){}