enabled JUnit Testing
This commit is contained in:
parent
bd81bd07ad
commit
0f91dc2a13
Binary file not shown.
BIN
lib/junit-platform-console-standalone-1.11.0-M2.jar
Normal file
BIN
lib/junit-platform-console-standalone-1.11.0-M2.jar
Normal file
Binary file not shown.
@ -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(){}
|
||||||
|
Loading…
Reference in New Issue
Block a user