-
-
Save todorok1/25838eed55cb4a7060c3b8407d18f467 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> | |
| [SerializeField] | |
| BattleActionRegister _battleActionRegister; | |
| /// <summary> | |
| /// 戦闘中のアクションを処理するクラスへの参照です。 | |
| /// </summary> | |
| [SerializeField] | |
| BattleActionProcessor _battleActionProcessor; | |
| /// <summary> | |
| /// 戦闘のフェーズです。 | |
| /// </summary> | |
| public BattlePhase BattlePhase { get; private set; } | |
| /// <summary> | |
| /// 選択されたコマンドです。 | |
| /// </summary> | |
| public BattleCommand SelectedCommand { get; private set; } | |
| /// <summary> | |
| /// エンカウントした敵キャラクターのIDです。 | |
| /// </summary> | |
| public int EnemyId { get; private set; } | |
| /// <summary> | |
| /// 戦闘開始からのターン数です。 | |
| /// </summary> | |
| public int TurnCount { get; private set; } | |
| /// <summary> | |
| /// 戦闘が終了したかどうかのフラグです。 | |
| /// </summary> | |
| public bool IsBattleFinished { get; private set; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment