25 #ifndef ENGINES_NWN_PLACEABLE_H 26 #define ENGINES_NWN_PLACEABLE_H 89 float length = 0.0f,
float speed = 1.0f);
92 float length = 0.0f,
float speed = 1.0f);
118 #endif // ENGINES_NWN_PLACEABLE_H
A class holding an UTF-8 string.
void load(const Aurora::GFF3Struct &placeable)
Load from a placeable instance.
void setModelState()
Sync the model's state with the placeable's state.
const Common::UString & getAnimationSound(Animation animation)
State _state
The current state of the placeable.
bool isOpen() const
Is the placeable open?
bool activate(Object *opener)
The user object activates this placeable.
void leave()
The cursor left the placeable.
State
The state of a placeable.
bool click(Object *triggerer=0)
The placeable was clicked.
Placeable(const Aurora::GFF3Struct &placeable)
Load from a placeable instance.
void hide()
Hide the placeable's model.
void loadObject(const Aurora::GFF3Struct &gff)
Load placeable-specific properties.
bool deactivate(Object *closer)
The user object deactivates this placeable.
void highlight(bool enabled)
(Un)Highlight the placeable.
void enter()
The cursor entered the placeable.
void show()
Show the placeable's model.
void loadAppearance()
Load appearance-specific properties.
Basic type definitions to handle files used in BioWare's Aurora engine.
void playAnimation(const Common::UString &animation="", bool restart=true, float length=0.0f, float speed=1.0f)
Play a placeable animation.
A situated object in a Neverwinter Nights area.
bool open(Object *opener)
The opener object opens this placeable.
bool _hasInventory
Does this placeable have an inventory?
bool isActivated() const
Is the placeable activated?
bool close(Object *closer)
The closer object closes this placeable.