Esempio n. 1
0
 public override GameState LevelUp(GameStatus status)
 {
     Console.WriteLine("You have already win the game! Well done!");
     return(new WinState());
 }
Esempio n. 2
0
 public override GameState GetHit(GameStatus status, int points)
 {
     Console.WriteLine("You have already win the game! Well done!");
     return(new WinState());
 }
Esempio n. 3
0
 public abstract GameState GetHit(GameStatus status, int points);
Esempio n. 4
0
 public abstract GameState LevelUp(GameStatus status);
Esempio n. 5
0
 public override GameState LevelUp(GameStatus status)
 {
     Console.WriteLine("You have already lost!");
     return(new LoseState());
 }
Esempio n. 6
0
 public override GameState GetHit(GameStatus status, int points)
 {
     Console.WriteLine("You have already lost!");
     return(new LoseState());
 }