|
int16 | x |
|
int16 | y |
|
uint32 | flags |
|
int32 | actionType |
|
◆ load()
Loads the object data
- Parameters
-
◆ disable()
void Asylum::Object::disable |
( |
| ) |
|
Sets the object disabled flag
◆ disableAndRemoveFromQueue()
void Asylum::Object::disableAndRemoveFromQueue |
( |
| ) |
|
Sets the object destroyed flag and remove this object from the graphics queue
◆ isOnScreen()
bool Asylum::Object::isOnScreen |
( |
| ) |
|
Query if this object is on screen.
- Returns
- true if on screen, false if not.
◆ adjustCoordinates()
Adjust coordinates.
- Parameters
-
◆ draw()
void Asylum::Object::draw |
( |
| ) |
|
◆ update()
void Asylum::Object::update |
( |
| ) |
|
◆ setNextFrame()
void Asylum::Object::setNextFrame |
( |
uint32 |
flags | ) |
|
Sets the next frame.
- Parameters
-
◆ stopSound()
void Asylum::Object::stopSound |
( |
| ) |
|
Stop the object related sounds
◆ stopAllSounds()
void Asylum::Object::stopAllSounds |
( |
| ) |
|
Stop all object sounds (called from scripts)
◆ checkFlags()
bool Asylum::Object::checkFlags |
( |
| ) |
const |
Checks the object flags
- Returns
- true if it succeeds, false if it fails.
◆ toString()
Convert this object into a string representation.
- Parameters
-
shortString | toggle for displaying the full dump or just a short summary string |
- Returns
- A string representation of this object.
The documentation for this class was generated from the following file: