Files
MuHua-UIElements/Assets/ModuleCore/ModuleBattle/BattlePhase/PhaseFormal.cs
T
MuHua-123 5ca97fb0b1 1
2025-07-23 18:01:18 +08:00

31 lines
807 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 正式阶段
/// </summary>
public class PhaseFormal : BattlePhase {
/// <summary> 回合计数 </summary>
public int roundCount;
public PhaseFormal(BattleSimulator simulator) : base(simulator) { }
public override void StartPhase() {
// throw new System.NotImplementedException();
}
public override void UpdatePhase() {
roundCount++;
BattleQueue.UpdateQueue();
simulator.Transition(PhaseType.);
// TODO:记录器
Debug.Log($"正式回合:{roundCount}");
string message = "存活";
BattleQueue.ForEach(obj => message += $" {obj.name}({obj.hitPoint.x})");
Debug.Log(message);
}
public override void QuitPhase() {
// throw new System.NotImplementedException();
}
}