VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Attributes
DtMultipleHitDamagePSR Class Reference

class DtMultipleHitDamagePSR: More...

Inheritance diagram for DtMultipleHitDamagePSR:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtMultipleHitDamagePSR (DtVrfObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 constructor
 DtMultipleHitDamagePSR (const DtMultipleHitDamagePSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
 copy constructor
virtual ~DtMultipleHitDamagePSR ()
 destructor
DtMultipleHitDamagePSRoperator= (const DtMultipleHitDamagePSR &orig)
 assignment operator
virtual
DtVrfProcessStateRepository
clone (const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
 returns a newly created copy of this object
virtual DtString type () const
 Returns the string type of this process state repository.
virtual void setCurrentHitPoints (int points)
 Get / Set the current hit points variable.
virtual int currentHitPoints () const
virtual void setTotalDetonations (int dets)
 Get / Set the total detonations for this entity.
virtual int totalDetonations () const
virtual void setNumberOfHits (int hits)
 Get / Set the total of hits this entity sustained.
virtual int numberOfHits () const

Static Public Member Functions

static
DtVrfProcessStateRepository
creator (const DtString &rwName, DtVrfObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
 Returns a newly created instance of this class.

Protected Attributes

DtRwInt myCurrentHitPoints
 Keep track when we save out scenario on current level of health of the entity.
DtRwInt myTotalDetonations
DtRwInt myNumberOfHits

Detailed Description

class DtMultipleHitDamagePSR:

This is PSR keeps track of the current number of hits point this entity has left, number of detonations and number of hits this entity has sustained.


Constructor & Destructor Documentation

DtMultipleHitDamagePSR::DtMultipleHitDamagePSR ( DtVrfObject vrfObject,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

constructor

DtMultipleHitDamagePSR::DtMultipleHitDamagePSR ( const DtMultipleHitDamagePSR orig,
const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
)

copy constructor

destructor


Member Function Documentation

DtMultipleHitDamagePSR& DtMultipleHitDamagePSR::operator= ( const DtMultipleHitDamagePSR orig)

assignment operator

virtual DtVrfProcessStateRepository* DtMultipleHitDamagePSR::clone ( const DtString rwName = DtString::nullString(),
DtReaderWriterRegistry parentRegistry = 0 
) const [virtual]

returns a newly created copy of this object

Implements DtVrfProcessStateRepository.

virtual DtString DtMultipleHitDamagePSR::type ( ) const [virtual]

Returns the string type of this process state repository.

Implements DtVrfProcessStateRepository.

virtual void DtMultipleHitDamagePSR::setCurrentHitPoints ( int  points) [virtual]

Get / Set the current hit points variable.

virtual int DtMultipleHitDamagePSR::currentHitPoints ( ) const [virtual]
virtual void DtMultipleHitDamagePSR::setTotalDetonations ( int  dets) [virtual]

Get / Set the total detonations for this entity.

virtual int DtMultipleHitDamagePSR::totalDetonations ( ) const [virtual]
virtual void DtMultipleHitDamagePSR::setNumberOfHits ( int  hits) [virtual]

Get / Set the total of hits this entity sustained.

virtual int DtMultipleHitDamagePSR::numberOfHits ( ) const [virtual]
static DtVrfProcessStateRepository* DtMultipleHitDamagePSR::creator ( const DtString rwName,
DtVrfObject vrfObject,
DtReaderWriterRegistry parentRegistry 
) [static]

Returns a newly created instance of this class.


Member Data Documentation

Keep track when we save out scenario on current level of health of the entity.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)