57 virtual bool init()
override;
71 virtual void tick()
override;
85 virtual const char*
type()
const override;
101 virtual void checkDamageType(
const DtDetonationContext& detonationContext,
bool isDirectDamage,
102 bool& isDestroyed,
bool& isMobKilled,
bool& isFPKilled,
bool& isSensKilled);
131 virtual bool assessDamagePoints(
const DtDetonationContext& detContext,
double& newDamagePoints);
183 virtual double getPossibleDamagePoints(
DtPrbValueList& damagePointsList,
195 virtual void addDamagePoints(
double newDamage,
double& newTotalDamage);
virtual bool init() override
Registers callbacks with the detonation manager. Provides the detonation manager a pointer to the com...
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool adjudicateCollateralDamage(const DtDetonationContext &detonationContext)
Determines collateral damage from an impact near the entity.
DtDamageAdjudicationActuator & operator=(const DtDamageAdjudicationActuator &orig)=delete
assignment operator; not implemented
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual void getImpactZoneFromDirectFire(DtDetonationContext &detonationContext)=0
Determines the impact zone–can just be bounding volume surface or a user defined impact zone– from a ...
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
Definition: multipleHitDamageActuatorDescriptor.h:27
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
const DtMultipleHitDamageActuatorDescriptor * myMultipleHitDamageComponentDescriptor
The descriptor that initializes this actuator. It reads in the initial number of hit points this enti...
Definition: multipleHitDamageActuator.h:201
Definition: readerWriterRegistry.h:39
A damage actuator that keeps track of "Hit Points" for an entity.
Definition: multipleHitDamageActuator.h:38
virtual bool isFirepowerKilled(DtPrbValueList &probabilities, DtSymbolString firepowerKillString) const =0
Determines if the entity is firepower killed by the detonation.
virtual bool isMobilityKilled(DtPrbValueList &probabilities, DtSymbolString mobilityKillString) const =0
Determines if the entity is mobility killed by the detonation.
DtBoundingVolumeFace
Definition: boundingVolumeFace.h:19
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
double myTotalDamagePoints
The total damage entity can take before it's destroyed.
Definition: multipleHitDamageActuator.h:204
virtual void setRestored()
Re-registers the entity to receive detonations since it is now restored.
virtual bool createPSR()
Create a process state repository (DtDamageAdjudicationPSR), or a different type if it is specified i...
virtual void tick() override
Determines the destroyed status of the entity, and then checks to see if the flaming and smoking indi...
DtDamageAdjudicationActuator is responsible for adjudicating the damage from appropriate detonations...
Definition: damageAdjudicationActuator.h:66
virtual bool isSensorsKilled(DtPrbValueList &probabilities, DtSymbolString sensorsKillString) const =0
Determines if the entity has its sensors killed by the detonation.
DtMultipleHitDamagePSR * myMHDProcessState
Definition: multipleHitDamageActuator.h:205
DtPrbValueList.
Definition: prbValueList.h:19
virtual void getImpactZoneFromIndirectFire(DtDetonationContext &detonationContext)=0
Determines the impact zon–can just be bounding volume surface or a user defined impact zone– from a i...
The DtDetonationContext contains all the information necessary for processing a Detonation Interactio...
Definition: detonationContext.h:23
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
DtString myCurrentId
This is set in adjudicate direct damage to make sure a hit isn't counted twice in a collateral damage...
Definition: multipleHitDamageActuator.h:208
virtual bool adjudicateDirectDamage(const DtDetonationContext &detonationContext)
When a detonation context is received, from the detonation manager, it is processed in order to deter...
class DtMultipleHitDamagePSR:
Definition: multipleHitDamagePSR.h:21
A locally simulated VRF object.
Definition: localObject.h:98