diff --git a/src/goap/state.hpp b/src/goap/state.hpp index f991557..b9de3c8 100644 --- a/src/goap/state.hpp +++ b/src/goap/state.hpp @@ -19,12 +19,12 @@ public: virtual void _process(double) override; void interrupt_state(); void end_state(); -protected: Action const *get_action() const; //! \returns True if the Action's requirements are complete. Without evaluating Action::require_state_complete. bool is_action_done() const; //! \returns True if the Action's requirements are complete. Including Action::require_state_complete. bool is_action_done_interrupt() const; +protected: virtual void _end_state(); private: ActorWorldState *world_state{nullptr};