using System; namespace Unity.BossRoom.Gameplay.GameplayObjects.Character.AI { /// /// Base class for all AIStates /// public abstract class AIState { /// /// Indicates whether this state thinks it can become/continue to be the active state. /// /// public abstract bool IsEligible(); /// /// Called once each time this state becomes the active state. /// (This will only happen if IsEligible() has returned true for this state) /// public abstract void Initialize(); /// /// Called once per frame while this is the active state. Initialize() will have /// already been called prior to Update() being called /// public abstract void Update(); } }