Beispiel #1
0
 public bool IsComplete(IOldBattle battle)
 {
     return(battle.GetEnemyUnits()
            .All(unit => unit.IsAlive));
 }
Beispiel #2
0
 public bool IsFailed(IOldBattle battle)
 {
     return(battle.GetFriendlyUnits()
            .All(unit => !unit.IsAlive));
 }
Beispiel #3
0
 public virtual bool CanApply(IOldBattle battle)
 {
     return(true);
 }