25 const DtString& rwName = DtString::nullString(),
30 const DtString& rwName = DtString::nullString(),
41 const DtString& rwName = DtString::nullString(),
48 virtual void setCurrentHitPoints(
int points);
49 virtual int currentHitPoints()
const;
52 virtual void setTotalDetonations(
int dets);
53 virtual int totalDetonations()
const;
56 virtual void setNumberOfHits(
int hits);
57 virtual int numberOfHits()
const;
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Holds data and provides accessors pertinent to damage adjudication. E.g. time destroyed.
Definition: damageAdjudicationPSR.h:18
DtRwInt myCurrentHitPoints
Keep track when we save out scenario on current level of health of the entity.
Definition: multipleHitDamagePSR.h:68
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the string type of this process state repository.
DtRwInt myTotalDetonations
Definition: multipleHitDamagePSR.h:70
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Returns a newly created instance of this class.
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
Returns a newly created copy of this object.
DtRwInt myNumberOfHits
Definition: multipleHitDamagePSR.h:71
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
Description: Readable, Writable int.
Definition: rwInt.h:25
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories.
Definition: vrfProcessStateRepository.h:43
DtDamageAdjudicationPSR & operator=(const DtDamageAdjudicationPSR &orig)
Assignment operator.
class DtMultipleHitDamagePSR:
Definition: multipleHitDamagePSR.h:19