void PlayerLose() { if (battleProcess != BATTLE_PROCESS.PLAYER_LOSE) { return; } string message = string.Format("{0}はモンスター討伐に失敗した", defender.CharacterName()); StartCoroutine(BattleMenu.LetterDisplay(message)); battleProcess = BATTLE_PROCESS.BATTLE_END; }
void PlayerWin() { if (battleProcess != BATTLE_PROCESS.PLAYER_WIN) { return; } string message = string.Format("{0}はモンスターを退治した", attacker.CharacterName()); StartCoroutine(BattleMenu.LetterDisplay(message)); battleProcess = BATTLE_PROCESS.BATTLE_END; }