#ifndef GSAI_PURSUE_H #define GSAI_PURSUE_H #include "core/object/reference.h" #include "../gsai_steering_behavior.h" class GSAISteeringAgent; class GSAITargetAcceleration; class GSAIPursue : public GSAISteeringBehavior { GDCLASS(GSAIPursue, GSAISteeringBehavior); public: Ref get_target(); void set_target(const Ref &val); float get_predict_time_max() const; void set_predict_time_max(const float val); void _calculate_steering(Ref acceleration); float get_modified_acceleration(); virtual float _get_modified_acceleration(); GSAIPursue(); ~GSAIPursue(); protected: static void _bind_methods(); Ref target; float predict_time_max; }; #endif