Crazy Eddies GUI System
0.7.2
|
Public Member Functions | |
AnimationManager (void) | |
Constructs a new AnimationManager object. More... | |
~AnimationManager (void) | |
Destructor for AnimationManager objects. More... | |
void | addInterpolator (Interpolator *interpolator) |
Adds interpolator to be available for Affectors. More... | |
void | removeInterpolator (Interpolator *interpolator) |
Removes interpolator. | |
Interpolator * | getInterpolator (const String &type) const |
Retrieves interpolator by type. | |
Animation * | createAnimation (const String &name) |
Creates a new Animation definition. More... | |
void | destroyAnimation (Animation *animation) |
Destroys given animation definition. | |
void | destroyAnimation (const String &name) |
Destroys given animation definition by name. | |
Animation * | getAnimation (const String &name) const |
Retrieves animation by name. | |
Animation * | getAnimationAtIdx (size_t index) const |
Retrieves animation by index. | |
size_t | getNumAnimations () const |
Retrieves number of defined animations. | |
AnimationInstance * | instantiateAnimation (Animation *animation) |
Instantiates given animation. More... | |
AnimationInstance * | instantiateAnimation (const String &name) |
Instantiates given animation by name. More... | |
void | destroyAnimationInstance (AnimationInstance *instance) |
Destroys given animation instance. | |
void | destroyAllInstancesOfAnimation (Animation *animation) |
Destroys all instances of given animation. | |
AnimationInstance * | getAnimationInstanceAtIdx (size_t index) const |
Retrieves animation instance at given index. | |
size_t | getNumAnimationInstances () const |
Retrieves number of animation instances, number of times any animation was instantiated. | |
void | stepInstances (float delta) |
Internal method, gets called by CEGUI::System automatically. More... | |
void | loadAnimationsFromXML (const String &filename, const String &resourceGroup="") |
Parses an XML file containing animation specifications to create and initialise Animation objects. More... | |
Static Public Member Functions | |
static void | setDefaultResourceGroup (const String &resourceGroup) |
Sets the default resource group to be used when loading animation xml data. More... | |
static const String & | getDefaultResourceGroup () |
Returns the default resource group currently set for loading animation xml data. More... | |
Static Public Member Functions inherited from CEGUI::Singleton< AnimationManager > | |
static AnimationManager & | getSingleton (void) |
static AnimationManager * | getSingletonPtr (void) |
Additional Inherited Members | |
Static Protected Attributes inherited from CEGUI::Singleton< AnimationManager > | |
static AnimationManager * | ms_Singleton |
CEGUI::AnimationManager::AnimationManager | ( | void | ) |
Constructs a new AnimationManager object.
NB: Client code should not create AnimationManager objects - they are of limited use to you! The intended pattern of access is to get a pointer to the GUI system's AnimationManager via the System object, and use that.
CEGUI::AnimationManager::~AnimationManager | ( | void | ) |
Destructor for AnimationManager objects.
This will properly destroy all remaining AnimationInstance and Animation objects.
void CEGUI::AnimationManager::addInterpolator | ( | Interpolator * | interpolator | ) |
Adds interpolator to be available for Affectors.
|
inlinestatic |
AnimationInstance* CEGUI::AnimationManager::instantiateAnimation | ( | Animation * | animation | ) |
Instantiates given animation.
AnimationInstance* CEGUI::AnimationManager::instantiateAnimation | ( | const String & | name | ) |
Instantiates given animation by name.
|
inlinestatic |
Sets the default resource group to be used when loading animation xml data.
resourceGroup | String describing the default resource group identifier to be used. |
void CEGUI::AnimationManager::stepInstances | ( | float | delta | ) |
Internal method, gets called by CEGUI::System automatically.
Only use if you know what you're doing!