using UnityEngine; namespace BehaviorDesigner.Runtime.Tactical { /// /// Interface for an agent that is able to attack. /// public interface IAttackAgent { /// /// Returns the furthest distance that the agent is able to attack from. /// /// The distance that the agent can attack from. float AttackDistance(); /// /// Can the agent attack? /// /// Returns true if the agent can attack. bool CanAttack(); /// /// Returns the maximum angle that the agent can attack from. /// /// The maximum angle that the agent can attack from. float AttackAngle(); /// /// Does the actual attack. /// /// The position to attack. void Attack(Vector3 targetPosition); } }