A base factory type for the creation of AreaEffect objects. More...
#include <areaeffect.h>
Public Member Functions | |
AreaEffectFactory () | |
Class constructor. | |
virtual | ~AreaEffectFactory () |
Class destructor. | |
virtual AreaEffect * | CreateAreaEffect (const String &Name, World *TheWorld, const NameValuePairMap &Params)=0 |
Creates a AreaEffect of the type represented by this factory. More... | |
virtual AreaEffect * | CreateAreaEffect (const XML::Node &XMLNode, World *TheWorld)=0 |
Creates a AreaEffect from XML. More... | |
virtual void | DestroyAreaEffect (AreaEffect *ToBeDestroyed)=0 |
Destroys a AreaEffect created by this factory. More... | |
virtual String | GetTypeName () const =0 |
Gets the name of the AreaEffect that is created by this factory. More... | |
A base factory type for the creation of AreaEffect objects.
Definition at line 249 of file areaeffect.h.
|
pure virtual |
Creates a AreaEffect of the type represented by this factory.
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. |
Implemented in Mezzanine::FieldOfForceFactory, Mezzanine::GravityWellFactory, and Mezzanine::GravityFieldFactory.
|
pure virtual |
Creates a AreaEffect from XML.
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
Implemented in Mezzanine::FieldOfForceFactory, Mezzanine::GravityWellFactory, and Mezzanine::GravityFieldFactory.
|
pure virtual |
Destroys a AreaEffect created by this factory.
ToBeDestroyed | A pointer to the AreaEffect to be destroyed. |
Implemented in Mezzanine::FieldOfForceFactory, Mezzanine::GravityWellFactory, and Mezzanine::GravityFieldFactory.
|
pure virtual |
Gets the name of the AreaEffect that is created by this factory.
Implemented in Mezzanine::FieldOfForceFactory, Mezzanine::GravityWellFactory, and Mezzanine::GravityFieldFactory.