pandemonium_engine/modules/steering_ai/gsai_group_behavior.h

37 lines
753 B
C++
Raw Normal View History

#ifndef GSAI_GROUP_BEHAVIOR_H
#define GSAI_GROUP_BEHAVIOR_H
#include "core/int_types.h"
#include "core/math/vector3.h"
#include "core/object/func_ref.h"
#include "core/object/reference.h"
#include "gsai_steering_behavior.h"
class GSAIProximity;
class GSAIGroupBehavior : public GSAISteeringBehavior {
GDCLASS(GSAIGroupBehavior, GSAISteeringBehavior);
public:
Ref<GSAIProximity> get_proximity();
void set_proximity(const Ref<GSAIProximity> &val);
Ref<FuncRef> get_callback();
void set_callback(const Ref<FuncRef> &val);
2023-01-14 01:43:20 +01:00
virtual bool _report_neighbor(Ref<GSAISteeringAgent> neighbor);
GSAIGroupBehavior();
~GSAIGroupBehavior();
protected:
static void _bind_methods();
Ref<GSAIProximity> proximity;
Ref<FuncRef> _callback;
};
#endif