A base factory type for the creation of Actor objects.
More...
#include <actor.h>
A base factory type for the creation of Actor objects.
Definition at line 71 of file actor.h.
Creates a Actor of the type represented by this factory.
- Parameters
-
Name | The name to be given to this object. |
TheWorld | A pointer to the world this object belongs to. |
Params | A NameValuePairList containing the params to be applied during construction. |
- Returns
- Returns a pointer to the Actor created.
virtual Actor* Mezzanine::ActorFactory::CreateActor |
( |
const XML::Node & |
XMLNode, |
|
|
World * |
TheWorld |
|
) |
| |
|
pure virtual |
Creates a Actor from XML.
- Parameters
-
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
- Returns
- Returns a pointer to the Actor created.
virtual void Mezzanine::ActorFactory::DestroyActor |
( |
Actor * |
ToBeDestroyed | ) |
|
|
pure virtual |
Destroys a Actor created by this factory.
- Parameters
-
ToBeDestroyed | A pointer to the Actor to be destroyed. |
virtual String Mezzanine::ActorFactory::GetTypeName |
( |
| ) |
const |
|
pure virtual |
Gets the name of the Actor that is created by this factory.
- Returns
- Returns the typename of the Actor created by this factory.
The documentation for this class was generated from the following file:
- /home/sqeaky/Code/MezzanineFresh/Mezzanine/src/actor.h