Inherits BaseComponent.

Public Member Functions | |
| DEFAULT_COMPONENT_CONSTRUCTOR (BaseComponent, VisualComponent,,,) | |
| template<class T > | |
| T * | CreateVisual (const std::string &type, const std::string &name) |
| template<class T > | |
| T * | GetVisual (const std::string &name) |
| void | RemoveVisual (const std::string &name) |
| void | Render (AbstractRenderer *pRenderer, const int nDelta) |
| virtual void | Update (const int nDelta) |
| Can be overridden to implement logic that is called on every game update. | |
| virtual void | ToStream (std::ostream &stream) const |
| Empty implementation. | |
| virtual void | FromStream (std::istream &stream) |
| Empty implementation. | |
| virtual bool | FromAttribute (const Attribute *pRoot) |
| Can be overriden to implement custom loading functionality from an AttributeTree. | |
| bool VisualComponent::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.
| virtual void VisualComponent::Update | ( | const int | nDelta | ) | [inline, 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.
1.6.1