pandemonium_engine/modules/steering_ai/behaviors/gsai_flee.h

27 lines
474 B
C++
Raw Normal View History

#ifndef GSAI_FLEE_H
#define GSAI_FLEE_H
2023-01-14 02:31:42 +01:00
#include "core/object/reference.h"
#include "gsai_seek.h"
class GSAITargetAcceleration;
class GSAIFlee : public GSAISeek {
GDCLASS(GSAIFlee, GSAISeek);
public:
2023-01-14 02:31:42 +01:00
void _calculate_steering(Ref<GSAITargetAcceleration> acceleration);
GSAIFlee();
~GSAIFlee();
protected:
static void _bind_methods();
// Calculates acceleration to take an agent directly away from a target agent.
// @category - Individual behaviors
};
#endif