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 =
true);
182 virtual double getPossibleDamagePoints(
DtPrbValueList& damagePointsList,
194 virtual void setDamagePoints(
double current);
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
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:200
Definition: readerWriterRegistry.h:39
A damage actuator that keeps track of "Hit Points" for an entity.
Definition: multipleHitDamageActuator.h:38
virtual bool adjudicateDirectDamage(const DtDetonationContext &detonationContext)=0
When a detonation context is received, from the detonation manager, it is processed in order to deter...
DtBoundingVolumeFace
Definition: boundingVolumeFace.h:19
virtual bool adjudicateCollateralDamage(const DtDetonationContext &detonationContext)=0
Determines collateral damage from an impact near the entity.
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:203
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:63
DtMultipleHitDamagePSR * myMHDProcessState
Definition: multipleHitDamageActuator.h:204
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:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual bool isSensorsKilled() const
Determines if the entity has its sensors killed by the detonation.
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:207
class DtMultipleHitDamagePSR:
Definition: multipleHitDamagePSR.h:21
virtual bool isFirepowerKilled() const
Determines if the entity is firepower killed by the detonation.
A locally simulated VRF object.
Definition: localObject.h:98
virtual bool isMobilityKilled() const
Determines if the entity is mobility killed by the detonation.