pandemonium_engine/modules/steering_ai/behaviors/gsai_evade.h

22 lines
372 B
C++
Raw Normal View History

#ifndef GSAI_EVADE_H
#define GSAI_EVADE_H
class GSAIEvade : public GSAIPursue {
GDCLASS(GSAIEvade, GSAIPursue);
public:
float _get_modified_acceleration();
GSAIEvade();
~GSAIEvade();
protected:
static void _bind_methods();
// Calculates acceleration to take an agent away from where a target agent is
// moving.
// @category - Individual behaviors
};
#endif