This is a representation of a character state for the serialization.
More...
#include <AIStubTypes.h>
|
| AIStateWorld (const ai::CharacterId &id, const glm::vec3 &position, float orientation, const CharacterAttributes &attributes) |
|
| AIStateWorld (const ai::CharacterId &id, const glm::vec3 &position, float orientation, CharacterAttributes &&attributes) |
|
| AIStateWorld (const ai::CharacterId &id, const glm::vec3 &position, float orientation) |
|
bool | operator== (const AIStateWorld &other) const |
|
bool | operator< (const AIStateWorld &other) const |
|
const ai::CharacterId & | getId () const |
|
float | getOrientation () const |
|
const glm::vec3 & | getPosition () const |
|
const CharacterAttributes & | getAttributes () const |
|
CharacterAttributes & | getAttributes () |
|
This is a representation of a character state for the serialization.
const CharacterAttributes& ai::AIStateWorld::getAttributes |
( |
| ) |
const |
|
inline |
- Returns
- Attributes for the entity
CharacterAttributes& ai::AIStateWorld::getAttributes |
( |
| ) |
|
|
inline |
- Returns
- Attributes for the entity to fill
const ai::CharacterId& ai::AIStateWorld::getId |
( |
| ) |
const |
|
inline |
- Returns
- The unique id that can be used to identify the character in the world
float ai::AIStateWorld::getOrientation |
( |
| ) |
const |
|
inline |
- Returns
- The orientation of the character [0, 2*PI]
- Note
- A negative value means, that the character does not have any orientation
const glm::vec3& ai::AIStateWorld::getPosition |
( |
| ) |
const |
|
inline |
- Returns
- The position in the world
The documentation for this class was generated from the following file:
- /home/travis/build/mgerhardy/simpleai/src/ai/server/AIStubTypes.h