mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 03:16:54 +01:00
25 lines
375 B
C++
25 lines
375 B
C++
|
#ifndef GSAIEVADE_H
|
||
|
#define GSAIEVADE_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
|