Skip to content

Instantly share code, notes, and snippets.

@todorok1
Created March 12, 2025 06:26
Show Gist options
  • Save todorok1/c3d5966f26063aaadd47655c1a32a024 to your computer and use it in GitHub Desktop.
Save todorok1/c3d5966f26063aaadd47655c1a32a024 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第44回 戦闘に関する機能を管理するクラス
/// <summary>
/// 戦闘の開始処理を行います。
/// </summary>
public void StartBattle()
{
SimpleLogger.Instance.Log("戦闘を開始します。");
GameStateManager.ChangeToBattle();
SetBattlePhase(BattlePhase.ShowEnemy);
_battleWindowManager.SetUpWindowControllers(this);
_characterMoverManager.StopCharacterMover();
_battleStarter.StartBattle(this);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment