-
-
Save todorok1/1fb6ad57c8dce1fb58c9ce59eada079c to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第53回 戦闘に関する機能を管理するクラス
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// 戦闘の開始処理を行います。 | |
| /// </summary> | |
| public void StartBattle() | |
| { | |
| SimpleLogger.Instance.Log("戦闘を開始します。"); | |
| GameStateManager.ChangeToBattle(); | |
| SetBattlePhase(BattlePhase.ShowEnemy); | |
| _battleWindowManager.SetUpWindowControllers(this); | |
| var messageWindowController = _battleWindowManager.GetMessageWindowController(); | |
| messageWindowController.HidePager(); | |
| _battleActionProcessor.InitializeProcessor(this); | |
| _battleActionRegister.InitializeRegister(_battleActionProcessor); | |
| _enemyCommandSelector.SetReferences(this, _battleActionRegister); | |
| _characterMoverManager.StopCharacterMover(); | |
| _battleStarter.StartBattle(this); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment