code cleanup
This commit is contained in:
parent
e58808bbbc
commit
316339d733
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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){}
|
||||
|
@ -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){}
|
||||
|
@ -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);
|
||||
|
@ -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){}
|
||||
|
@ -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(){}
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user