private void MakeTurn(Turn turn) { TurnError?e = TurnCmdHandler.MakeTurn(turn); if (e != null) { PrintError(e); } }
public CommandCycle( IConsoleIO consoleIO, GameCmdHandler gameCmdHandler, TurnCmdHandler turnCmdHandler, BoardPrinter boardPrinter, CommandParser commandParser) { Console = consoleIO; GameCmdHandler = gameCmdHandler; TurnCmdHandler = turnCmdHandler; BoardPrinter = boardPrinter; CommandParser = commandParser; }