#include <Anim2D.h>
Inherits SubsystemInterface.
Public Member Functions | |
| Anim2DCollection (void) | |
| virtual | ~Anim2DCollection (void) |
| virtual void | init (void) |
| initialize system | |
| virtual void | reset (void) |
| virtual void | update (void) |
| reset system | |
| Anim2DTemplate * | findTemplate (const AsciiString &name) |
| find animation template | |
| Anim2DTemplate * | newTemplate (const AsciiString &name) |
| allocate a new template to be loaded | |
| void | registerAnimation (Anim2D *anim) |
| register animation with system | |
| void | unRegisterAnimation (Anim2D *anim) |
| un-register animation from system | |
| Anim2DTemplate * | getTemplateHead () const |
| Anim2DTemplate * | getNextTemplate (Anim2DTemplate *animTemplate) const |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Protected Attributes | |
| Anim2DTemplate * | m_templateList |
| list of available animation templates | |
| Anim2D * | m_instanceList |
| list of all the anim 2D instance we're tracking | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
| Anim2DCollection::Anim2DCollection | ( | void | ) |
Definition at line 723 of file Anim2D.cpp.
|
virtual |
Definition at line 732 of file Anim2D.cpp.
| Anim2DTemplate * Anim2DCollection::findTemplate | ( | const AsciiString & | name | ) |
find animation template
Search the template list for a template with a matching name
Definition at line 789 of file Anim2D.cpp.
| Anim2DTemplate * Anim2DCollection::getNextTemplate | ( | Anim2DTemplate * | animTemplate | ) | const |
Definition at line 808 of file Anim2D.cpp.
|
inline |
|
virtual |
initialize system
Initialize 2D animation collection
Implements SubsystemInterface.
Definition at line 759 of file Anim2D.cpp.
| Anim2DTemplate * Anim2DCollection::newTemplate | ( | const AsciiString & | name | ) |
allocate a new template to be loaded
Allocate a new template, assign name, and link to our internal list
Definition at line 820 of file Anim2D.cpp.
| void Anim2DCollection::registerAnimation | ( | Anim2D * | anim | ) |
register animation with system
Register animation instance with us. When an animation instance is registered it can be updated even when it's not drawn
Definition at line 839 of file Anim2D.cpp.
|
inlinevirtual |
Implements SubsystemInterface.
| void Anim2DCollection::unRegisterAnimation | ( | Anim2D * | anim | ) |
un-register animation from system
Definition at line 863 of file Anim2D.cpp.
|
virtual |
reset system
update system
System update phase
Implements SubsystemInterface.
Definition at line 770 of file Anim2D.cpp.
|
protected |
|
protected |