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