public GameController() { OutputView.PrintWelcomeMessage(); InputView.PrintGameStart(); Console.ReadLine(); PlayGame(); }
public MainController() { _outputView = new OutputView(); _outputView.PrintWelcomeMessage(); _inputView = new InputView(); _parser = new Parser(); _outputView.Print = _parser.BuildMaze(); _route = _parser.Route; mainThread = new Thread(new ThreadStart(Run)); mainThread.Start(); SwitchInput(); mainThread.Interrupt(); _outputView.WriteEndGameMessage(_route.Score); Console.ReadLine(); }