public DrawState(TicTacToeConsoleRunnerState state) { this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner; }
public HumanWinsState(TicTacToeConsoleRunnerState state) { this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner; }
public AskingForPlayerState(TicTacToeConsoleRunnerState state) { TicTacToeConsoleRunner = state.TicTacToeConsoleRunner; }
public PlayingState(TicTacToeConsoleRunnerState state, int initialPlayer) { this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner; this.CurrentPlayer = state.TicTacToeConsoleRunner.Players[initialPlayer - 1]; }
public QuitGameState(TicTacToeConsoleRunnerState state) { this.TicTacToeConsoleRunner = state.TicTacToeConsoleRunner; }