Пример #1
0
        /// <summary>
        /// default constructor to create the console view objects
        /// </summary>
        public ConsoleView(TimeTraveler gameTraveler, TheFuture gameYLocation)
        {
            _gameTraveler  = gameTraveler;
            _gameYLocation = gameYLocation;

            InitializeConsole();
        }
Пример #2
0
 /// <summary>
 /// initialize the game
 /// </summary>
 private void InitializeGame()
 {
     _usingGame       = true;
     _gameYLocation   = new TheFuture();
     _gameTraveler    = new TimeTraveler();
     _gameConsoleView = new ConsoleView(_gameTraveler, _gameYLocation);
 }