59 virtual const char*
type()
const;
99 virtual DtDamageState isInjured(
DtPrbValueList& probabilities)
const;
103 virtual void updateState(DtDamageState state);
#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.
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
std::vector< DtString > myProneAnimationList
Definition: humanDamageActuator.h:134
DtHumanDamagePSR * myMHDProcessState
Definition: humanDamageActuator.h:128
virtual const char * type() const
Returns a string identifies the class type of component. Type values are defined in compTypes...
End User Description: A damage actuator that accounts for stunning an entity.
Definition: humanDamageActuator.h:34
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 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...
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtDamageAdjudicationActuator is responsible for adjudicating the damage from appropriate detonations...
Definition: damageAdjudicationActuator.h:64
Definition: humanDamageActuatorDescriptor.h:19
std::vector< DtString > myStunnedAnimationList
Definition: humanDamageActuator.h:133
DtPrbValueList.
Definition: prbValueList.h:19
int myCurrentHitPoints
The current health status of the entity.
Definition: humanDamageActuator.h:127
DtString myCurrentId
This is set in adjudicate direct damage to make sure a hit isn't counted twice in a collateral damage...
Definition: humanDamageActuator.h:131
The DtDetonationContext contains all the information necessary for processing a Detonation Interactio...
Definition: detonationContext.h:23
virtual void setDestroyed()
Calls setDestroyed on the myLocalStateRepository. Also calls setFlaming and setSmoking based on the p...
DtHumanDamageActuatorDescriptor * myHumanDamageActuatorDescriptor
The descriptor that initializes this actuator. It reads in the initial number of hit points this e...
Definition: humanDamageActuator.h:124
Definition: humanDamagePSR.h:18
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:94
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:91
DtDamageAdjudicationActuator & operator=(const DtDamageAdjudicationActuator &orig)
assignment operator; not implemented
virtual bool init()
Registers callbacks with the detonation manager. Provides the detonation manager a pointer to the com...
virtual void tick()
Determines the destroyed status of the entity, and then checks to see if the flaming and smoking indi...
std::vector< DtString > myDeadAnimationList
Definition: humanDamageActuator.h:135
virtual bool adjudicateDirectDamage(const DtDetonationContext &detonationContext)
When a detonation context is received, from the detonation manager, it is processed in order to deter...
DtHumanLocalObjectFacade myHumanLocalObjectFacade
Member to allow for access to platform specific data.
Definition: humanDamageActuator.h:138
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86