1
This commit is contained in:
@@ -8,18 +8,25 @@ using MuHua;
|
||||
/// </summary>
|
||||
public class ManagerSimulator : ModuleSingle<ManagerSimulator> {
|
||||
|
||||
public List<DataCharacter> cha1 = new List<DataCharacter>();
|
||||
public List<DataCharacter> cha2 = new List<DataCharacter>();
|
||||
/// <summary> 队伍1 </summary>
|
||||
public BattleTeam team1;
|
||||
/// <summary> 队伍2 </summary>
|
||||
public BattleTeam team2;
|
||||
|
||||
public BattleSimulator battleSimulator;
|
||||
|
||||
protected override void Awake() => NoReplace(false);
|
||||
|
||||
private void Start() {
|
||||
cha1.Add(RandomCharacter("艾薇拉"));
|
||||
cha1.Add(RandomCharacter("托尔吉"));
|
||||
cha2.Add(RandomCharacter("哥布林射手"));
|
||||
cha2.Add(RandomCharacter("哥布林战士"));
|
||||
battleSimulator = new BattleSimulator(cha1, cha2);
|
||||
team1 = new BattleTeam();
|
||||
team1.Add(RandomCharacter("艾薇拉"));
|
||||
team1.Add(RandomCharacter("托尔吉"));
|
||||
|
||||
team2 = new BattleTeam();
|
||||
team2.Add(RandomCharacter("哥布林射手"));
|
||||
team2.Add(RandomCharacter("哥布林战士"));
|
||||
|
||||
battleSimulator = new BattleSimulator(team1, team2);
|
||||
}
|
||||
private void Update() {
|
||||
battleSimulator.Update();
|
||||
|
||||
Reference in New Issue
Block a user