#include <Locomotor.h>
Inherits SubsystemInterface.
Public Member Functions | |
| LocomotorStore () | |
| ~LocomotorStore () | |
| void | init () |
| void | reset () |
| void | update () |
| const LocomotorTemplate * | findLocomotorTemplate (NameKeyType namekey) const |
| LocomotorTemplate * | findLocomotorTemplate (NameKeyType namekey) |
| Locomotor * | newLocomotor (const LocomotorTemplate *tmpl) const |
| LocomotorTemplate * | newOverride (LocomotorTemplate *locoTemplate) |
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) |
Static Public Member Functions | |
| static void | parseLocomotorTemplateDefinition (INI *ini) |
Additional Inherited Members | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
The "store" used to hold all the LocomotorTemplates in existence. This is usually used when creating an Object, but can be used at any time after that. (It is explicitly OK to swap an Object's Locomotor out at any given time.)
Definition at line 468 of file Locomotor.h.
| LocomotorStore::LocomotorStore | ( | ) |
Definition at line 517 of file Locomotor.cpp.
| LocomotorStore::~LocomotorStore | ( | ) |
Definition at line 522 of file Locomotor.cpp.
| LocomotorTemplate * LocomotorStore::findLocomotorTemplate | ( | NameKeyType | namekey | ) |
Definition at line 534 of file Locomotor.cpp.
| const LocomotorTemplate * LocomotorStore::findLocomotorTemplate | ( | NameKeyType | namekey | ) | const |
Find the LocomotorTemplate with the given name. If no such LocomotorTemplate exists, return null.
Definition at line 547 of file Locomotor.cpp.
|
inlinevirtual |
Implements SubsystemInterface.
Definition at line 475 of file Locomotor.h.
|
inline |
Definition at line 485 of file Locomotor.h.
| LocomotorTemplate * LocomotorStore::newOverride | ( | LocomotorTemplate * | locoTemplate | ) |
Definition at line 587 of file Locomotor.cpp.
|
static |
Definition at line 607 of file Locomotor.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 569 of file Locomotor.cpp.
|
virtual |
Implements SubsystemInterface.
Definition at line 564 of file Locomotor.cpp.