A base factory type for the creation of deformable Debris objects. More...
#include <softdebris.h>
Public Member Functions | |
SoftDebrisFactory () | |
Class constructor. | |
virtual | ~SoftDebrisFactory () |
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 SoftDebris * | CreateSoftDebris (const String &Name, const Real Mass, World *TheWorld) |
Creates a SoftDebris object. More... | |
virtual SoftDebris * | CreateSoftDebris (const XML::Node &XMLNode, World *TheWorld) |
Creates a SoftDebris 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 deformable Debris objects.
Definition at line 201 of file softdebris.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 402 of file softdebris.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 412 of file softdebris.cpp.
|
virtual |
Creates a SoftDebris 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 396 of file softdebris.cpp.
|
virtual |
Creates a SoftDebris object.
XMLNode | The node of the xml document to construct from. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 399 of file softdebris.cpp.
|
virtual |
Destroys a Debris created by this factory.
ToBeDestroyed | A pointer to the Debris to be destroyed. |
Implements Mezzanine::DebrisFactory.
Definition at line 415 of file softdebris.cpp.
|
virtual |
Gets the name of the Debris that is created by this factory.
Implements Mezzanine::DebrisFactory.
Definition at line 393 of file softdebris.cpp.