mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 03:16:54 +01:00
21 lines
385 B
C++
21 lines
385 B
C++
#ifndef GSAI_FLEE_H
|
|
#define GSAI_FLEE_H
|
|
|
|
class GSAIFlee : public GSAISeek {
|
|
GDCLASS(GSAIFlee, GSAISeek);
|
|
|
|
public:
|
|
void _calculate_steering(const 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
|