A base factory type for the creation of non-deformable Debris objects. More...
#include <rigiddebris.h>
Public Member Functions | |
RigidDebrisFactory () | |
Class constructor. | |
virtual | ~RigidDebrisFactory () |
Class destructor. | |
virtual Debris * | CreateDebris (const String &Name, World *TheWorld, const NameValuePairMap &Params) |
Creates a Debris of the type represented by this factory. More... | |
virtual Debris * | CreateDebris (const XML::Node &XMLNode, World *TheWorld) |
Creates a Debris from XML. More... | |
virtual RigidDebris * | CreateRigidDebris (const String &Name, const Real Mass, World *TheWorld) |
Creates a RigidDebris object. More... | |
virtual RigidDebris * | CreateRigidDebris (const XML::Node &XMLNode, World *TheWorld) |
Creates a RigidDebris object. More... | |
virtual void | DestroyDebris (Debris *ToBeDestroyed) |
Destroys a Debris created by this factory. More... | |
virtual String | GetTypeName () const |
Gets the name of the Debris that is created by this factory. More... | |
Public Member Functions inherited from Mezzanine::DebrisFactory | |
DebrisFactory () | |
Class constructor. | |
virtual | ~DebrisFactory () |
Class destructor. | |
A base factory type for the creation of non-deformable Debris objects.
Definition at line 201 of file rigiddebris.h.
|
virtual |
Creates a Debris 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. |
Implements Mezzanine::DebrisFactory.
Definition at line 413 of file rigiddebris.cpp.
|
virtual |
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
Implements Mezzanine::DebrisFactory.
Definition at line 423 of file rigiddebris.cpp.
|
virtual |
Creates a RigidDebris object.
Name | The name to be given to this object. |
Mass | The mass of the debris object. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 407 of file rigiddebris.cpp.
|
virtual |
Creates a RigidDebris object.
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 410 of file rigiddebris.cpp.
|
virtual |
Destroys a Debris created by this factory.
ToBeDestroyed | A pointer to the Debris to be destroyed. |
Implements Mezzanine::DebrisFactory.
Definition at line 426 of file rigiddebris.cpp.
|
virtual |
Gets the name of the Debris that is created by this factory.
Implements Mezzanine::DebrisFactory.
Definition at line 404 of file rigiddebris.cpp.