12 #ifndef DtWeaponActuatorDescriptor_H_
13 #define DtWeaponActuatorDescriptor_H_
51 virtual DtReal projectileStartSpeed()
const;
52 virtual void setProjectileStartSpeed(DtReal startSpeed);
57 virtual const DtVector& muzzleOffset()
const;
58 virtual void setMuzzleOffset(
const DtVector& muzzleOffset);
59 virtual bool isMuzzleOffsetSpecified()
const;
63 virtual int roundsPerMagazine()
const;
64 virtual void setRoundsPerMagazine(
const int rounds);
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtRwOffsetVector myMuzzleOffset
Parameter Name: muzzle-offset Parameter Description: This vector is an offset used to set the positio...
Definition: weaponActuatorDescriptor.h:101
DtRwReal myProjectileStartSpeed
Parameter Name: projectile-start-speed Parameter Description: Used in calculating the projectile velo...
Definition: weaponActuatorDescriptor.h:86
Description: Readable, Writable int.
Definition: rwInt.h:25
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Specialized vector that can be used for the knowledge of an "offset" rather than location vector...
Definition: rwVector.h:109
DtWeaponActuatorDescriptor; descriptor for the DtWeaponActuator component.
Definition: weaponActuatorDescriptor.h:24
DtRwInt myRoundsPerMagazine
Parameter Name: rounds-per-magazine Parameter Description: This is the number of munitions in a magaz...
Definition: weaponActuatorDescriptor.h:110