VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjcore
multipleHitDamagePSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfobjcore/damageAdjudicationPSR.h
"
12
#include "
vrfutil/rwInt.h
"
13
#include "
vrfobjcore/vrfobjcoreDefines.h
"
14
19
class
DT_DLL_vrfobjcore
DtMultipleHitDamagePSR
:
public
DtDamageAdjudicationPSR
20
{
21
public
:
22
24
DtMultipleHitDamagePSR
(
DtVrfObject
* vrfObject,
25
const
DtString
& rwName = DtString::nullString(),
26
DtReaderWriterRegistry
* parentRegistry = 0);
27
29
DtMultipleHitDamagePSR
(
const
DtMultipleHitDamagePSR
& orig,
30
const
DtString
& rwName = DtString::nullString(),
31
DtReaderWriterRegistry
* parentRegistry = 0);
32
34
virtual
~
DtMultipleHitDamagePSR
();
35
37
DtMultipleHitDamagePSR
&
operator=
(
const
DtMultipleHitDamagePSR
& orig);
38
40
virtual
DtVrfProcessStateRepository
*
clone
(
41
const
DtString
& rwName = DtString::nullString(),
42
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
43
45
virtual
DtString
type
()
const
;
46
48
virtual
void
setCurrentHitPoints(
int
points);
49
virtual
int
currentHitPoints()
const
;
50
52
virtual
void
setTotalDetonations(
int
dets);
53
virtual
int
totalDetonations()
const
;
54
56
virtual
void
setNumberOfHits(
int
hits);
57
virtual
int
numberOfHits()
const
;
58
59
public
:
60
62
static
DtVrfProcessStateRepository
*
creator
(
const
DtString
& rwName,
63
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
64
65
protected
:
66
68
DtRwInt
myCurrentHitPoints
;
69
70
DtRwInt
myTotalDetonations
;
71
DtRwInt
myNumberOfHits
;
72
};
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)