2023-01-13 21:13:57 +01:00
|
|
|
#ifndef GSAIEVADE_H
|
|
|
|
#define GSAIEVADE_H
|
|
|
|
|
|
|
|
class GSAIEvade : public GSAIPursue {
|
2023-01-13 21:35:07 +01:00
|
|
|
GDCLASS(GSAIEvade, GSAIPursue);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
public:
|
|
|
|
float _get_modified_acceleration();
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
GSAIEvade();
|
|
|
|
~GSAIEvade();
|
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
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
// Calculates acceleration to take an agent away from where a target agent is
|
|
|
|
// moving.
|
|
|
|
// @category - Individual behaviors
|
2023-01-13 21:13:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|