25 #ifndef ENGINES_KOTOR_PLACEABLE_H 26 #define ENGINES_KOTOR_PLACEABLE_H 111 #endif // ENGINES_KOTOR_PLACEABLE_H void load(const Aurora::GFF3Struct &placeable)
Load from a placeable instance.
bool isOpen() const
Is the placeable open?
void highlight(bool enabled)
(Un)Highlight the placeable.
bool isActivated() const
Is the placeable activated?
bool _hasInventory
Does this placeable have an inventory?
void loadObject(const Aurora::GFF3Struct &gff)
Load placeable-specific properties.
void enter()
The cursor entered the placeable.
bool deactivate(Object *closer)
The user object deactivates this placeable.
void loadAppearance()
Load appearance-specific properties.
bool open(Object *opener)
The opener object opens this placeable.
bool close(Object *closer)
The closer object closes this placeable.
Placeable(const Aurora::GFF3Struct &placeable)
Load from a placeable instance.
State _state
The current state of the placeable.
A situated object in a Star Wars: Knights of the Old Republic area.
Inventory & getInventory()
void leave()
The cursor left the placeable.
Basic type definitions to handle files used in BioWare's Aurora engine.
State
The state of a placeable.
bool click(Object *triggerer=0)
The placeable was clicked.
An item in a Star Wars: Knights of the Old Republic area.
Inventory _inventory
The current items of this placeable if it has an inventory.
bool activate(Object *opener)
The user object activates this placeable.
void hide()
Hide the placeable's model.