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 String &Name, const Real Mass, Graphics::Mesh *DebMesh, Physics::CollisionShape *DebShape, 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 216 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 442 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 452 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 433 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. |
DebMesh | A pointer to the Graphics mesh that will be applied to the debris object. |
DebShape | A pointer to the Collision shape that will be applied to the debris object. |
TheWorld | A pointer to the world this object belongs to. |
Definition at line 436 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 439 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 455 of file rigiddebris.cpp.
|
virtual |
Gets the name of the Debris that is created by this factory.
Implements Mezzanine::DebrisFactory.
Definition at line 430 of file rigiddebris.cpp.