25 #ifndef ENGINES_NWN2_LOCATION_H 26 #define ENGINES_NWN2_LOCATION_H 50 void getPosition(
float &x,
float &y,
float &z)
const;
70 #endif // ENGINES_NWN2_LOCATION_H float getFacing() const
Return the location's orientation.
An area in Neverwinter Nights 2, holding all objects, room tiles and terrain within, as well as general area properties like the current background music and ambient sounds.
Area * getArea() const
Return the location's area.
float _position[3]
The location's position.
void getPosition(float &x, float &y, float &z) const
Return the location's position.
void setPosition(float x, float y, float z)
Set the location's position.
void setArea(Area *area)
Set the location's area.
Location * clone() const
Clone factory method.
void setFacing(float facing)
Set the location's orientation.
float _facing
The location's orientation.
Area * _area
The location's area.