/// <summary> /// default constructor to create the console view objects /// </summary> public ConsoleView(Ogre gameOgre, Kingdom gameKingdom) { _gameOgre = gameOgre; _gameKingdom = gameKingdom; InitializeConsole(); }
/// <summary> /// initialize the game /// </summary> private void InitializeGame() { _usingGame = true; _gameKingdom = new Kingdom(); _gameOgre = new Ogre(); _gameConsoleView = new ConsoleView(_gameOgre, _gameKingdom); _gameDragon = new Dragon(); }
public Controller() { InitializeGame(); // // instantiate a Salesperson object // _gameOgre = new Ogre(); // // instantiate a ConsoleView object // _gameConsoleView = new ConsoleView(_gameOgre, _gameKingdom); // // begins running the application UI // ManageGameLoop(); }