2023-01-13 22:04:30 +01:00
|
|
|
#ifndef GSAI_FLEE_H
|
|
|
|
#define GSAI_FLEE_H
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-14 02:31:42 +01:00
|
|
|
#include "core/object/reference.h"
|
|
|
|
|
|
|
|
#include "gsai_seek.h"
|
|
|
|
|
|
|
|
class GSAITargetAcceleration;
|
|
|
|
|
2023-01-13 21:13:57 +01:00
|
|
|
class GSAIFlee : public GSAISeek {
|
2023-01-13 21:35:07 +01:00
|
|
|
GDCLASS(GSAIFlee, GSAISeek);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
public:
|
2023-01-14 02:31:42 +01:00
|
|
|
void _calculate_steering(Ref<GSAITargetAcceleration> acceleration);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
GSAIFlee();
|
|
|
|
~GSAIFlee();
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
protected:
|
|
|
|
static void _bind_methods();
|
2023-01-13 21:13:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|