Skip to content

Instantly share code, notes, and snippets.

@todorok1
Last active March 6, 2025 07:47
Show Gist options
  • Select an option

  • Save todorok1/80351e6accf39a5f0c9af18ad8918014 to your computer and use it in GitHub Desktop.

Select an option

Save todorok1/80351e6accf39a5f0c9af18ad8918014 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第40回 戦闘の開始処理を行うクラス
/// <summary>
/// 戦闘関連のスプライトを表示します。
/// </summary>
void ShowSprites()
{
var battleSpriteController = _battleManager.GetBattleSpriteController();
battleSpriteController.SetSpritePosition();
battleSpriteController.ShowBackground();
battleSpriteController.ShowEnemy(_battleManager.EnemyId);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment