VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
individualLifeFormDamageAdjudicationActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
15 
16 
23 {
24 
25 public:
26 
30  DtLocalObject* owner,
31  DtSimulationServices* simManager,
32  DtComponentDescriptor* desc = 0,
33  DtReaderWriterRegistry* parentRegistry = 0);
34 
37 
40  virtual bool init() override;
41 
44  virtual const char* type() const override;
45 
56  virtual void tick() override;
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtLocalObject* owner,
63  DtSimulationServices* simManager,
64  DtComponentDescriptor* desc = 0,
65  DtReaderWriterRegistry* parentRegistry = 0);
66 
67 protected:
68 
74  virtual void setDestroyed() override;
75 
76 private:
80 
84 
88 
89 };
90 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=nullptr, DtReaderWriterRegistry *parentRegistry=nullptr)
virtual bool init() override
Registers callbacks with the detonation manager. Provides the detonation manager a pointer to the com...
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
virtual void tick() override
Determines the destroyed status of the entity, and then checks to see if the flaming and smoking indi...
DtIndividualLifeFormDamageAdjudicationActuator; simple model of damage for lifeforms.
Definition: individualLifeFormDamageAdjudicationActuator.h:22
DtProbabilityDamageActuator & operator=(const DtProbabilityDamageActuator &orig)=delete
assignment operator; not implemented
virtual void setDestroyed()
Calls setDestroyed on the myLocalStateRepository. Also calls setFlaming and setSmoking based on the p...
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
DtProbabilityDamageActuator is responsible for adjudicating the damage from appropriate detonations...
Definition: probabilityDamageActuator.h:63
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)