namespace TowerDefense.Agents { /// /// An implementation of Agent that will attack /// any Towers that block its path /// public class AttackingAgent : Agent { public override void Initialize() { base.Initialize(); } /// /// Unsubscribes from tracked towers removed event /// and disables the attached attack affector /// public override void Remove() { base.Remove(); } /// /// Peforms the relevant path update for the states , /// and /// protected override void PathUpdate() { } /// /// Change to when path is no longer blocked or to /// when the agent reaches /// protected override void OnPartialPathUpdate() { } } }