A factory type for the creation of GravityField objects. More...
#include <gravityfield.h>
Public Member Functions | |
GravityFieldFactory () | |
Class constructor. | |
virtual | ~GravityFieldFactory () |
Class destructor. | |
virtual AreaEffect * | CreateAreaEffect (const String &Name, World *TheWorld, const NameValuePairMap &Params) |
virtual AreaEffect * | CreateAreaEffect (const XML::Node &XMLNode, World *TheWorld) |
virtual GravityField * | CreateGravityField (const String &Name, World *TheWorld) |
Creates a GravityField object. More... | |
virtual GravityField * | CreateGravityField (const String &Name, Physics::CollisionShape *AEShape, World *TheWorld) |
Creates a GravityField object. More... | |
virtual GravityField * | CreateGravityField (const XML::Node &XMLNode, World *TheWorld) |
Creates a GravityField object. More... | |
virtual void | DestroyAreaEffect (AreaEffect *ToBeDestroyed) |
virtual String | GetTypeName () const |
Public Member Functions inherited from Mezzanine::AreaEffectFactory | |
AreaEffectFactory () | |
Class constructor. | |
virtual | ~AreaEffectFactory () |
Class destructor. | |
A factory type for the creation of GravityField objects.
Definition at line 115 of file gravityfield.h.
|
virtual |
Implements Mezzanine::AreaEffectFactory.
Definition at line 187 of file gravityfield.cpp.
|
virtual |
Implements Mezzanine::AreaEffectFactory.
Definition at line 190 of file gravityfield.cpp.
|
virtual |
Creates a GravityField object.
Name | The name to be given to this object. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 178 of file gravityfield.cpp.
|
virtual |
Creates a GravityField object.
Name | The name to be given to this object. |
AEShape | A pointer to the Collision shape that will be applied to this object. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 181 of file gravityfield.cpp.
|
virtual |
Creates a GravityField object.
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 184 of file gravityfield.cpp.
|
virtual |
Implements Mezzanine::AreaEffectFactory.
Definition at line 193 of file gravityfield.cpp.
|
virtual |
Implements Mezzanine::AreaEffectFactory.
Definition at line 175 of file gravityfield.cpp.