Ejemplo n.º 1
0
        private void SwitchStateToBattleTransition(int encounterId)
        {
            _gameState = GameState.BattleTransition;
            _upcomingEncounterId = encounterId;

            // initialize the battle controller (pass it the worldMonsterId)
            _battleController.Init(encounterId, _player);
            _battleController.LoadContent(_game);
        }
Ejemplo n.º 2
0
 public GeneralGameController()
 {
     _worldController = new WorldController(this);
     _battleController = new BattleController();
     _gameState = GameState.World;
 }
Ejemplo n.º 3
0
 private void SwitchStateToBattle(int encounterId)
 {
     // change the game state
     _gameState = GameState.Battle;
 }