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); }
public GeneralGameController() { _worldController = new WorldController(this); _battleController = new BattleController(); _gameState = GameState.World; }
private void SwitchStateToBattle(int encounterId) { // change the game state _gameState = GameState.Battle; }