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
vrfobjparam
nbcWeaponControllerDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
#include "
vrfobjparam/scriptEnableControllerDescriptor.h
"
11
#include "
vrfobjparam/vrfobjparamDefines.h
"
12
#include "
vrfutil/rwInt.h
"
13
#include "
vrfutil/rwReal.h
"
14
18
19
class
DT_DLL_vrfobjparam
DtNbcWeaponControllerDescriptor
:
public
DtScriptEnableControllerDescriptor
20
{
21
public
:
23
DtNbcWeaponControllerDescriptor
(
const
DtString
& name,
24
DtReaderWriterRegistry
* parentRegistry = 0);
25
27
DtNbcWeaponControllerDescriptor
(
const
DtNbcWeaponControllerDescriptor
&
28
orig,
DtReaderWriterRegistry
* parentRegistry = 0);
29
31
DtNbcWeaponControllerDescriptor
&
operator=
(
const
32
DtNbcWeaponControllerDescriptor
& orig);
33
35
virtual
~
DtNbcWeaponControllerDescriptor
();
36
38
virtual
DtString
type
()
const
;
39
40
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
41
= 0)
const
;
42
45
virtual
DtString
nbcType()
const
;
46
virtual
void
setNbcType(
const
DtString
&);
48
51
virtual
double
range()
const
;
52
virtual
void
setRange(
double
);
54
57
virtual
double
contaminationRadius()
const
;
58
virtual
void
setContaminationRadius(
double
);
60
63
virtual
int
ammunitionPerAttack()
const
;
64
virtual
void
setAmmunitionPerAttack(
int
);
65
67
static
DtComponentDescriptor
*
creator
();
68
69
protected
:
71
DtNbcWeaponControllerDescriptor
();
72
73
protected
:
74
78
83
DtRwString
myNbcType
;
84
88
DtRwReal
myRange
;
89
93
DtRwReal
myContaminationRadius
;
94
98
DtRwInt
myAmmunitionPerAttack
;
99
101
};
102
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
)