Exemple #1
0
        /// <summary>
        /// add all initial game data to the GameSession object
        /// </summary>
        private void InitializeGameData()
        {
            _gameSession = new GameSession();

            //
            // method to populate the Player object properties without setup window
            //
            _gameSession.CurrentPlayer = GetGameObjects.PlayerData();
        }
Exemple #2
0
        /// <summary>
        /// add all initial game data to the GameSession object
        /// </summary>
        private void InitializeGameData()
        {
            _gameSession = new GameSession();

            //
            // method to populate the Player object properties without setup window
            //
            _gameSession.CurrentPlayer   = GetGameObjects.PlayerData();
            _gameSession.Map             = GetGameObjects.MapData();
            _gameSession.CurrentLocation = _gameSession.Map.Locations.FirstOrDefault(l => l.Id == 1001);
        }