#include <theStage.h>
Public Methods | |
TheStage (void) | |
Empty constructor. More... | |
TheStage (string &filename) | |
XML-file-based constructor. More... | |
RESULT_TYPE | DestroyPuppet (uint16 whichOne) |
Destroys a puppet. More... | |
void | DisperseAction (uint16 object, uint16 joint, float value) |
Passes along an action to a puppet. More... | |
void | DisperseKeyframeAnimation (uint16 object, uint16 animation) |
Passes along an animation command to a puppet. More... | |
PuppetPtr | GetPuppet (uint16 object) |
Gets a puppet. More... | |
void | UpdateTick (void) |
Executed every frame for real-time update purposes. More... |
The Stage exists to both collect the puppets into a single place, and also to distribute actions and animations to its Virpets.
|
Empty constructor. This constructor just initializes a stage with zero puppets, but still allocates the necessary pointer memory. |
|
XML-file-based constructor.
|
|
Destroys a puppet.
|
|
Passes along an action to a puppet.
|
|
Passes along an animation command to a puppet.
|
|
Gets a puppet.
|
|
Executed every frame for real-time update purposes. Since the Stage has very little upkeeping to do itself, this function at the moment just farms UpdateTick calls out to all it's puppets. |