VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
weaponDesc.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: weaponDesc.h,v $ $Revision: 1.10 $ $State: Exp $
7
*******************************************************************************/
8
11
14
15
#ifndef DtWeaponActuatorDescriptor_H_
16
#define DtWeaponActuatorDescriptor_H_
17
18
#include "
vrfobjparam/actCompDesc.h
"
19
#include "
vrfutil/rwReal.h
"
20
#include "
vrfutil/rwVector.h
"
21
25
#include "
vrfobjparam/vrfobjparamDefines.h
"
26
class
DT_DLL_vrfobjparam
DtWeaponActuatorDescriptor
:
public
DtActuatorComponentDescriptor
27
{
28
public
:
30
DtWeaponActuatorDescriptor
(
const
DtString
& name,
DtReaderWriterRegistry
*
31
parentRegistry = 0);
32
34
DtWeaponActuatorDescriptor
(
const
DtWeaponActuatorDescriptor
& orig,
35
DtReaderWriterRegistry
* parentRegistry = 0);
36
38
DtWeaponActuatorDescriptor
&
operator=
(
const
DtWeaponActuatorDescriptor
& orig);
39
41
virtual
~
DtWeaponActuatorDescriptor
();
42
45
virtual
DtString
type
()
const
;
46
47
virtual
DtComponentDescriptor
*
clone
(
DtReaderWriterRegistry
* parentRegistry
48
= 0)
const
;
49
50
53
virtual
DtReal projectileStartSpeed()
const
;
54
virtual
void
setProjectileStartSpeed(DtReal startSpeed);
56
59
virtual
const
DtVector
& muzzleOffset()
const
;
60
virtual
void
setMuzzleOffset(
const
DtVector
& muzzleOffset);
62
64
static
DtComponentDescriptor
*
creator
();
65
66
protected
:
68
DtWeaponActuatorDescriptor
();
69
70
protected
:
74
80
DtRwReal
myProjectileStartSpeed
;
81
95
DtRwVector
myMuzzleOffset
;
96
98
};
99
100
#endif
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
)