2023-01-13 22:04:30 +01:00
|
|
|
#ifndef GSAI_AGENT_LOCATION_H
|
|
|
|
#define GSAI_AGENT_LOCATION_H
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 23:01:38 +01:00
|
|
|
#include "core/int_types.h"
|
|
|
|
#include "core/math/vector3.h"
|
|
|
|
#include "core/object/reference.h"
|
|
|
|
|
2023-01-13 21:13:57 +01:00
|
|
|
class GSAIAgentLocation : public Reference {
|
2023-01-13 21:35:07 +01:00
|
|
|
GDCLASS(GSAIAgentLocation, Reference);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
public:
|
|
|
|
Vector3 get_position();
|
|
|
|
void set_position(const Vector3 &val);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
float get_orientation() const;
|
|
|
|
void set_orientation(const float val);
|
2023-01-13 21:13:57 +01:00
|
|
|
|
2023-01-13 21:35:07 +01:00
|
|
|
GSAIAgentLocation();
|
|
|
|
~GSAIAgentLocation();
|
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 23:01:38 +01:00
|
|
|
Vector3 position;
|
|
|
|
float orientation;
|
2023-01-13 21:13:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|