mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-23 09:28:07 +01:00
33 lines
634 B
C++
33 lines
634 B
C++
|
#ifndef GSAIAGENTLOCATION_H
|
||
|
#define GSAIAGENTLOCATION_H
|
||
|
|
||
|
|
||
|
class GSAIAgentLocation : public Reference {
|
||
|
GDCLASS(GSAIAgentLocation, Reference);
|
||
|
|
||
|
public:
|
||
|
|
||
|
Vector3 get_position();
|
||
|
void set_position(const Vector3 &val);
|
||
|
|
||
|
float get_orientation() const;
|
||
|
void set_orientation(const float val);
|
||
|
|
||
|
|
||
|
GSAIAgentLocation();
|
||
|
~GSAIAgentLocation();
|
||
|
|
||
|
protected:
|
||
|
static void _bind_methods();
|
||
|
|
||
|
// Represents an agent with only a location and an orientation.
|
||
|
// @category - Base types
|
||
|
// The agent's position in space.
|
||
|
Vector3 position = Vector3.ZERO;
|
||
|
// The agent's orientation on its Y axis rotation.
|
||
|
float orientation = 0.0;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|