VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmodel
spawnObjectWarheadActuator.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
12
#include "
vrfmodel/warheadDetonationActuator.h
"
13
#include "
vrfmodel/vrfmodelDefines.h
"
14
15
class
DtComponentDescriptor
;
16
class
DtSpawnObjectWarheadActuatorDescriptor
;
17
21
class
DT_DLL_vrfmodel
DtSpawnObjectWarheadActuator
:
public
DtWarheadDetonationActuator
22
{
23
public
:
24
25
//constructor
26
DtSpawnObjectWarheadActuator
(
const
DtString
& name,
DtVrfObject
*
object
,
27
DtSimManager
* simManager,
DtComponentDescriptor
* compDescriptor,
28
DtReaderWriterRegistry
* parentRegistry = 0);
29
30
//destructor
31
virtual
~
DtSpawnObjectWarheadActuator
();
32
33
//Perform any initialization required by the actuator
34
virtual
bool
init
();
35
36
//Returns a string from compTypes.h, identifying the type of component
37
virtual
const
char
*
type
()
const
;
38
41
virtual
void
sendDetonation
(
DtVrfObject
*impactedEntity,
42
const
DtVector
& detonLocation);
43
46
virtual
void
sendDetonation
(DtDetonationResult result,
47
const
DtVector
& collisionPt);
48
49
public
:
50
51
//Creator function to be registered with the DtSimComponentFactory --
52
//see main.cxx
53
static
DtSimComponent
*
creator
(
const
DtString
& name,
DtVrfObject
*
object
,
54
DtSimManager
* simManager,
DtComponentDescriptor
* compDescriptor,
55
DtReaderWriterRegistry
* parentRegistry);
56
57
protected
:
58
const
DtSpawnObjectWarheadActuatorDescriptor
*
myDescriptor
;
59
60
};
61
62
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)