|
VR-Engage
2.2
|
The DtVreAmmunitionManager maintains ammunition that is not published to the network (such as bullets in a gun), their munition types, and the targets they can currently engage. This class extends the base ammunition manager to create VREngage-specific ammunition parameter objects that support the extended data found in ammunitionParams.mtl configuration files.
#include <vreAmmunitionManager.h>
Public Member Functions | |
| DtVreAmmunitionManager () | |
| virtual | ~DtVreAmmunitionManager () override |
Static Public Member Functions | |
| static DtAmmunitionManager * | create () |
Protected Member Functions | |
| virtual DtAmmunitionParams * | createParameters () override |
Private Member Functions | |
| DtVreAmmunitionManager (const DtVreAmmunitionManager &orig) | |
| DtVreAmmunitionManager & | operator= (const DtVreAmmunitionManager &other) |
| makVre::DtVreAmmunitionManager::DtVreAmmunitionManager | ( | ) |
Default constructor.
Creates a new ammunition manager with default values.
Referenced by DtVreAmmunitionManager(), and operator=().
|
overridevirtual |
Virtual destructor.
Cleans up resources used by the ammunition manager.
|
private |
Copy constructor (not implemented)
| orig | The source manager to copy from |
Copy constructor is private and not implemented to prevent copying.
References DtVreAmmunitionManager().
|
static |
Factory function to create a new ammunition manager.
Static factory function used to instantiate new instances of the ammunition manager.
|
overrideprotectedvirtual |
Creates a new ammunition parameters object.
Creates a new instance of DtVreAmmunitionParams. If new parameters are used in a derived version of this class, override this method to return a derived version of DtVreAmmunitionParams.
This factory method enables the ammunition manager to create appropriate parameter objects specific to VREngage.
|
private |
Assignment operator (not implemented)
| other | The source manager to copy from |
Assignment operator is private and not implemented to prevent assignment.
References DtVreAmmunitionManager().