public void DefeatWarrior(BattleActor actor) { if (actor != null && AvailableActors.Contains(actor)) { AvailableActors.Remove(actor); UsedActors.Remove(actor); DefeatedActors.Add(actor); actor.RemoveFromBoard(); } }
public Adr GetActorDefinition(string name) { return((Adr)AvailableActors.Find(actor => actor.Name == name)); }
public void AddWarrior(WarriorType type) { BattleActor actor = new BattleActor(type, this); AvailableActors.Add(actor); }