Ejemplo n.º 1
0
 public DrawState(TicTacToeConsoleRunnerState state)
 {
     this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner;
 }
Ejemplo n.º 2
0
 public HumanWinsState(TicTacToeConsoleRunnerState state)
 {
     this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner;
 }
Ejemplo n.º 3
0
 public AskingForPlayerState(TicTacToeConsoleRunnerState state)
 {
     TicTacToeConsoleRunner = state.TicTacToeConsoleRunner;
 }
Ejemplo n.º 4
0
 public PlayingState(TicTacToeConsoleRunnerState state, int initialPlayer)
 {
     this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner;
     this.CurrentPlayer = state.TicTacToeConsoleRunner.Players[initialPlayer - 1];
 }
Ejemplo n.º 5
0
 public QuitGameState(TicTacToeConsoleRunnerState state)
 {
     this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner;
 }