public IEnumerable <Action> Do(HeroController controller, TurnState turn, TacticScore tacticScore) { yield return(() => controller.AttackNearest("HERO")); }
public IEnumerable <Action> Do(HeroController controller, TurnState turn, TacticScore tacticScore) { yield return(() => controller.Move(turn.My.Tower.X, turn.My.Tower.Y, "Ouch!")); }
public TacticScore RankTactic(TurnState turn) { return(new TacticScore(this, 1, "I'm scared.")); }
public IEnumerable <Action> Do(HeroController controller, TurnState turn, TacticScore tacticScore) { yield return(() => controller.Attack(turn.Enemy.Hero, "You can't hide from me")); }