VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanDamageActuatorDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
7 
8 #pragma once
9 
12 #include <readerWriter/rwInt.h>
13 #include <readerWriter/rwReal.h>
14 #include <vrfutil/rwStringList.h>
15 
17 
20 {
21 public:
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
28  DtReaderWriterRegistry* parentRegistry = 0);
29 
33 
36  parentRegistry = 0) const;
37 
39 
42  virtual DtString type() const;
43 
46  virtual double timeToRecover() const;
47  virtual void setTimeToRecover(double recoverTime);
49 
52  virtual const DtRwStringList& cumulativePowerTypes() const;
53  virtual void setCumulativePowerTypes(const DtRwStringList & list);
55 
58 
59 protected:
60 
68 
75 };
DtDamageAdjudicationComponentDescriptor is used to specify the parameters for the DtDamageAdjudicatio...
Definition: damageAdjudicationComponentDescriptor.h:33
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
DtRwReal myRecoveryTime
Parameter Name: recovery-time Parameter Description: The time it takes for a person to recover from b...
Definition: humanDamageActuatorDescriptor.h:67
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the type of component this descriptor describes.
DtRwStringList myCumulativePowerTypes
Parameter Name: cumalative-power-types Parameter Description: A list of damage power types that can h...
Definition: humanDamageActuatorDescriptor.h:74
Definition: humanDamageActuatorDescriptor.h:19
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=NULL) const
DtDamageAdjudicationComponentDescriptor & operator=(const DtDamageAdjudicationComponentDescriptor &orig)
assignment. See note above.
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
static DtComponentDescriptor * creator()
Definition: rwStringList.h:20

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)