![]() |
VR-Forces 4.7 Class Documentation
|

Public Member Functions | |
| DtVrfAmmunitionManager (DtSimManager &) | |
| default constructor | |
| virtual | ~DtVrfAmmunitionManager () |
| destructor | |
| DtSimManager & | simManager () |
Public Member Functions inherited from DtAmmunitionManager | |
| DtAmmunitionManager () | |
| Constructs the ammunition manager. | |
| virtual | ~DtAmmunitionManager () |
| The destructor. | |
| virtual bool | init () |
| Initializes the ammunition manager. | |
| virtual bool | reinitialize () |
| Resets the ammunition manager to initial state. | |
| virtual bool | loadParametersFromFile (const DtFilename &filename) |
| Calls createParameters() to get a new instance of the parameter object, and calls getSelf() on the parameters to load them from the file. | |
| virtual void | resetParameters () |
| Resets the parameters. | |
| virtual DtAmmunitionParams * | setParameters (DtAmmunitionParams *) |
| Sets parameters and returns the existing parameters. | |
| virtual bool | parametersLoaded () const |
| virtual const DtFilename & | parametersFile () const |
| virtual DtAmmunitionParams * | parameters () |
| virtual const DtAmmunitionParams * | parameters () const |
Protected Attributes | |
| DtSimManager & | mySimManager |
Protected Attributes inherited from DtAmmunitionManager | |
| DtFilename | myParametersFile |
| DtAmmunitionParams * | myParameters |
| Parameters for this ammunition manager. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DtAmmunitionManager | |
| static void | setAmmunitionManager (DtAmmunitionManager *) |
| Set this in order to be able to map between the ammunition name in the priorities list and the ammunition type. | |
| static DtAmmunitionManager * | ammunitionManager () |
Protected Member Functions inherited from DtAmmunitionManager | |
| virtual DtAmmunitionParams * | createParameters () |
Static Protected Attributes inherited from DtAmmunitionManager | |
| static DtAmmunitionManager * | theAmmunitionManager |
| The global instance that can be referened by other classes. | |
| DtVrfAmmunitionManager::DtVrfAmmunitionManager | ( | DtSimManager & | ) |
default constructor
|
virtual |
destructor
|
inline |
|
protected |