code cleanup

This commit is contained in:
Johannes Schmelz 2024-06-19 11:45:29 +02:00
parent e58808bbbc
commit 316339d733
16 changed files with 0 additions and 11 deletions

Binary file not shown.

View File

@ -13,7 +13,6 @@ public class Canceled implements HandlerState {
public void addPlayer(Player player){}
public void startGame(){}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){}
public void chooseSuit(Suit suit){}

View File

@ -12,7 +12,6 @@ public class Finished implements HandlerState{
public void addPlayer(Player player){}
public void startGame(){}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){}
public void chooseSuit(Suit suit){}

View File

@ -7,7 +7,6 @@ public interface HandlerState {
void addPlayer(Player player);
void startGame();
void finishGame();
void cancelGame();
void chooseCard(Card c);
void chooseSuit(Suit suit);

View File

@ -28,7 +28,6 @@ public class Initialized implements HandlerState {
}
}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){}
public void chooseSuit(Suit suit){}

View File

@ -21,7 +21,6 @@ public class JackChosen implements HandlerState{
public void startGame(){}
public void addPlayer(Player player){}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){}
public void skip(){}

View File

@ -13,10 +13,6 @@ public class Normal implements HandlerState {
public void addPlayer(Player player){}
public void startGame(){}
public void finishGame(){
handler.setGameState(GameState.GAME_OVER);
handler.setHandlerState(new Finished(handler));
}
public void cancelGame(){}
public void chooseCard(Card c){

View File

@ -12,7 +12,6 @@ public class SevenChosen implements HandlerState{
public void addPlayer(Player player){}
public void startGame(){}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){

View File

@ -13,7 +13,6 @@ public class SuitChosen implements HandlerState{
public void addPlayer(Player player){}
public void startGame(){}
public void finishGame(){}
public void cancelGame(){}
public void chooseCard(Card c){