25 #ifndef ENGINES_SONIC_OBJECT_H 26 #define ENGINES_SONIC_OBJECT_H 61 virtual void getPosition(
float &x,
float &y,
float &z)
const;
63 virtual void getOrientation(
float &x,
float &y,
float &z,
float &angle)
const;
66 virtual void setPosition(
float x,
float y,
float z);
68 virtual void setOrientation(
float x,
float y,
float z,
float angle);
91 #endif // ENGINES_SONIC_OBJECT_H virtual void getOrientation(float &x, float &y, float &z, float &angle) const
Return the object's orientation.
virtual void enter()
The cursor entered the object.
uint32 getModelID() const
Return the ID of the object's model.
Basic Sonic Chronicles: The Dark Brotherhood types and defines.
virtual void getPosition(float &x, float &y, float &z) const
Return the object's position within its area.
An object within a Sonic area.
float _orientation[4]
The object's orientation.
ObjectType getType() const
Return the exact type of the object.
Low-level type definitions to handle fixed width types portably.
virtual void highlight(bool enabled)
(Un)Highlight the object.
ObjectType _type
The object's type.
float _position[3]
The object's position.
virtual void setOrientation(float x, float y, float z, float angle)
Set the object's orientation.
virtual void leave()
The cursor left the object.
virtual void show()
Show the object's model.
virtual void setPosition(float x, float y, float z)
Set the object's position within its area.
virtual void hide()
Hide the object's model.
uint32 _modelID
The ID of the object's model.