示例#1
0
文件: Rout.cs 项目: w1r2p1/unitrpg
 public bool IsComplete(IOldBattle battle)
 {
     return(battle.GetEnemyUnits()
            .All(unit => unit.IsAlive));
 }
示例#2
0
文件: Rout.cs 项目: w1r2p1/unitrpg
 public bool IsFailed(IOldBattle battle)
 {
     return(battle.GetFriendlyUnits()
            .All(unit => !unit.IsAlive));
 }
示例#3
0
 public virtual bool CanApply(IOldBattle battle)
 {
     return(true);
 }