MultiPhysicsToMultiVisualComponent Class Reference

Inherits BaseComponent.

Collaboration diagram for MultiPhysicsToMultiVisualComponent:
Collaboration graph
[legend]

List of all members.

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.

Member Function Documentation

bool MultiPhysicsToMultiVisualComponent::FromAttribute ( const Attribute pRoot  )  [virtual]

Can be overriden to implement custom loading functionality from an AttributeTree.

Parameters:
pRoot A pointer to the root of the attribute tree for this component.
Returns:
If false is returned then loading was a failure and the component will not be added to the game entity.

Implements AbstractComponent.

void MultiPhysicsToMultiVisualComponent::Update ( const int  nDelta  )  [virtual]

Can be overridden to implement logic that is called on every game update.

Parameters:
nDelta The time between this frame and last (in ms).

Implements AbstractComponent.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on Fri Nov 20 15:29:20 2009 for PhysTank by  doxygen 1.6.1