Inherits BaseComponent.
Public Member Functions | |
DEFAULT_COMPONENT_CONSTRUCTOR (BaseComponent, MultiPhysicsToMultiVisualComponent,,,) | |
void | AddMapping (const std::string &bodyPartName, const std::string &visualName) |
void | RemoveMapping (const std::string &bodyPartName) |
virtual void | Update (const int nDelta) |
Can be overridden to implement logic that is called on every game update. | |
virtual bool | FromAttribute (const Attribute *pRoot) |
Can be overriden to implement custom loading functionality from an AttributeTree. | |
virtual void | ToStream (std::ostream &stream) const |
Empty implementation. | |
virtual void | FromStream (std::istream &stream) |
Empty implementation. |
bool MultiPhysicsToMultiVisualComponent::FromAttribute | ( | const Attribute * | pRoot | ) | [virtual] |
Can be overriden to implement custom loading functionality from an AttributeTree.
pRoot | A pointer to the root of the attribute tree for this component. |
Implements AbstractComponent.
void MultiPhysicsToMultiVisualComponent::Update | ( | const int | nDelta | ) | [virtual] |
Can be overridden to implement logic that is called on every game update.
nDelta | The time between this frame and last (in ms). |
Implements AbstractComponent.