Files
MuHua-UIElements/Assets/ModuleCore/ModuleBattle/BattlePhase/PhaseFormal.cs
T
MuHua-123 b6adf24ff1 1
2025-07-25 17:46:56 +08:00

25 lines
626 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 Execute() {
roundCount++;
BattleQueue.UpdateQueue();
// TODO:记录器
Debug.Log($"正式回合:{roundCount}");
string message = "存活";
BattleQueue.ForEach(obj => message += $" {obj.name}({obj.hitPoint.x})");
Debug.Log(message);
simulator.Transition(PhaseType.);
}
}