-
-
Save todorok1/f9dd53f149e434f4a1add61aa6bc3504 to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第52回 戦闘に関する機能を管理するクラス
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 OnFinishedShowMessage() | |
| { | |
| switch (BattlePhase) | |
| { | |
| case BattlePhase.ShowEnemy: | |
| SimpleLogger.Instance.Log("敵の表示が完了しました。"); | |
| StartInputCommandPhase(); | |
| break; | |
| } | |
| } | |
| /// <summary> | |
| /// コマンド選択が完了した後の処理です。 | |
| /// </summary> | |
| void PostCommandSelect() | |
| { | |
| SimpleLogger.Instance.Log("敵のコマンド入力を行います。"); | |
| _enemyCommandSelector.SelectEnemyCommand(); | |
| } | |
| /// <summary> | |
| /// 敵キャラクターのコマンドが選択された時のコールバックです。 | |
| /// </summary> | |
| public void OnEnemyCommandSelected() | |
| { | |
| SimpleLogger.Instance.Log("敵味方の行動が決まったので実際に行動させます。"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment