#ifndef GSAI_COHESION_H #define GSAI_COHESION_H #include "core/object/reference.h" #include "../gsai_group_behavior.h" class GSAITargetAcceleration; class GSAISteeringAgent; class GSAICohesion : public GSAIGroupBehavior { GDCLASS(GSAICohesion, GSAIGroupBehavior); public: void _calculate_steering(Ref acceleration); bool _report_neighbor(Ref neighbor); GSAICohesion(); ~GSAICohesion(); protected: static void _bind_methods(); Vector3 _center_of_mass; }; #endif