VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
combatRangeCtlDesc.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: combatRangeCtlDesc.h,v $ $Revision: 1.10 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#pragma once
16
17
#include "
vrfobjparam/vrfobjparamDefines.h
"
18
#include "
vrfobjparam/compDesc.h
"
19
#include "
vrfutil/rwReal.h
"
20
#include "
vrfutil/rwString.h
"
21
27
class
DT_DLL_vrfobjparam
DtCombatRangeControllerDescriptor
:
public
DtComponentDescriptor
28
{
29
public
:
31
DtCombatRangeControllerDescriptor
(
const
DtString
& name,
32
DtReaderWriterRegistry
* parentRegistry = NULL);
33
34
DtCombatRangeControllerDescriptor
(
const
DtSymbolString& name,
35
DtReaderWriterRegistry
* parentRegistry = NULL);
36
38
DtCombatRangeControllerDescriptor
(
39
const
DtCombatRangeControllerDescriptor
& orig,
40
DtReaderWriterRegistry
* parentRegistry = NULL);
41
43
DtCombatRangeControllerDescriptor
&
operator=
(
const
44
DtCombatRangeControllerDescriptor
& orig);
45
47
virtual
~
DtCombatRangeControllerDescriptor
();
48
51
virtual
DtString
type
()
const
;
52
53
virtual
DtComponentDescriptor
*
clone
(
54
DtReaderWriterRegistry
* parentRegistry = NULL)
const
;
55
57
58
virtual
const
DtString
& rangeName()
const
;
59
virtual
void
setRangeName(
const
DtString
& rangeName);
61
63
64
virtual
double
combatRange()
const
;
65
virtual
void
setCombatRange(
double
combatRange);
67
69
70
virtual
bool
useSubordinates()
const
;
71
virtual
void
setUseSubordinates(
bool
);
73
75
static
DtComponentDescriptor
*
creator
();
76
77
protected
:
79
DtCombatRangeControllerDescriptor
();
80
81
protected
:
85
89
DtRwString
myRangeName
;
90
95
DtRwReal
myCombatRange
;
96
102
DtRwBoolean
myUseSubordinates
;
103
105
106
};
107
108
Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)