VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
multipleHitDamagePSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2009 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: multipleHitDamagePSR.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#pragma once
13
14
#include "
vrfobjcore/processSR.h
"
15
#include "
vrfutil/rwInt.h
"
16
#include "
vrfobjcore/vrfobjcoreDefines.h
"
17
22
23
class
DT_DLL_vrfobjcore
DtMultipleHitDamagePSR
:
public
DtVrfProcessStateRepository
24
{
25
public
:
26
28
DtMultipleHitDamagePSR
(
DtVrfObject
* vrfObject,
29
const
DtString
& rwName = DtString::nullString(),
30
DtReaderWriterRegistry
* parentRegistry = 0);
31
33
DtMultipleHitDamagePSR
(
const
DtMultipleHitDamagePSR
& orig,
34
const
DtString
& rwName = DtString::nullString(),
35
DtReaderWriterRegistry
* parentRegistry = 0);
36
38
virtual
~
DtMultipleHitDamagePSR
();
39
41
DtMultipleHitDamagePSR
&
operator=
(
const
DtMultipleHitDamagePSR
& orig);
42
44
virtual
DtVrfProcessStateRepository
*
clone
(
45
const
DtString
& rwName = DtString::nullString(),
46
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
47
49
virtual
DtString
type
()
const
;
50
52
virtual
void
setCurrentHitPoints(
int
points);
53
virtual
int
currentHitPoints()
const
;
54
56
virtual
void
setTotalDetonations(
int
dets);
57
virtual
int
totalDetonations()
const
;
58
60
virtual
void
setNumberOfHits(
int
hits);
61
virtual
int
numberOfHits()
const
;
62
63
public
:
64
66
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
67
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
68
69
protected
:
70
72
DtRwInt
myCurrentHitPoints
;
73
74
DtRwInt
myTotalDetonations
;
75
DtRwInt
myNumberOfHits
;
76
};
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)