46 virtual void setNbcType(
const DtString&);
51 virtual double range()
const;
52 virtual void setRange(
double);
57 virtual double contaminationRadius()
const;
58 virtual void setContaminationRadius(
double);
63 virtual int ammunitionPerAttack()
const;
64 virtual void setAmmunitionPerAttack(
int);
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
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
DtRwInt myAmmunitionPerAttack
Parameter Name: ammunition-per-attack Parameter Description: The amount of ammunition used in a singl...
Definition: nbcWeaponControllerDescriptor.h:98
DtScriptEnableControllerDescriptor is a DtComponentDescriptor that provides parameters to the DtScrip...
Definition: scriptEnableControllerDescriptor.h:20
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
static DtComponentDescriptor * creator()
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myRange
Parameter Name: range Parameter Description: The range (in meters) at which an NBC attack can be perf...
Definition: nbcWeaponControllerDescriptor.h:88
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwString myNbcType
Parameter Name: nbc-type Parameter Description: The type of NBC contamination (e.g. "Nuclear", "Chemical", or "Biological"). Parameter Default Value: "" .
Definition: nbcWeaponControllerDescriptor.h:83
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtRwReal myContaminationRadius
Parameter Name: radius Parameter Description: The radius (in meters) of the contamination area...
Definition: nbcWeaponControllerDescriptor.h:93
DtNbcWeaponControllerDescriptor is a DtComponentDescriptor that has additional information needed for...
Definition: nbcWeaponControllerDescriptor.h:19
DtScriptEnableControllerDescriptor & operator=(const DtScriptEnableControllerDescriptor &orig)
assignment