1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
|
| using System;
|
| public class StoryBattleField : BattleField
| {
| public override void Init(TeamBase _redTeam, TeamBase _blueTeam)
| {
| base.Init(_redTeam, _blueTeam);
|
| string savedStr = LocalSave.GetString("StoryBattleFieldBattleMode");
| if (string.IsNullOrEmpty(savedStr))
| {
| savedStr = "Hand";
| }
| SetBattleMode((BattleMode)Enum.Parse(typeof(BattleMode), savedStr));
| }
|
| // public override void Run()
| // {
| // // 一定要记住这个
| // if (IsPause)
| // return;
|
| // base.Run();
| // }
| }
|
|