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
vrfobjcore
vrfObjectNavInterface.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include "
vrfobjcore/vrfobjcoreDefines.h
"
12
#include "
vrfutil/factoryTemplate.h
"
13
#include "
vrfutil/noArgumentCallbackList.h
"
14
15
class
DtVrfObject
;
16
17
class
DtNavArea
;
18
19
class
DT_DLL_vrfobjcore
DtVrfObjectNavInterface
20
{
21
private
:
23
DtVrfObjectNavInterface
();
25
DtVrfObjectNavInterface
(
const
DtVrfObjectNavInterface
& orig);
27
DtVrfObjectNavInterface
& operator=(
const
DtVrfObjectNavInterface
& orig);
28
29
public
:
30
//static DtVrfObjectNavInterface* create(DtVrfObject* vrfObject);
31
33
virtual
bool
ableToNavigate()
const
;
34
35
protected
:
37
DtVrfObjectNavInterface
(
DtVrfObject
* vrfObject);
39
virtual
bool
init
();
40
41
public
:
42
45
virtual
void
postObjectInit
() {};
46
47
virtual
void
tick();
48
virtual
void
firstTick();
49
50
virtual
~
DtVrfObjectNavInterface
() = 0;
51
52
virtual
void
addNavAreaChangedCallback(
DtNoArgumentCallbackList::DtCallbackFunctionType
callback,
void
* usr);
53
virtual
void
removeNavAreaChangedCallback(
DtNoArgumentCallbackList::DtCallbackFunctionType
callback,
void
* usr);
54
virtual
void
invokeNavAreaChangedCallbacks();
55
57
virtual
void
changingNavArea(
DtNavArea
* newNavArea);
58
59
protected
:
63
virtual
bool
isCollidableWhenDestroyed()
const
;
64
65
protected
:
66
DtVrfObject
*
myVrfObject
;
67
bool
myFirstTick
;
68
DtNavArea
*
myCurrentNavArea
;
69
70
DtNoArgumentCallbackList
myChangedNavAreaCallbackList
;
71
};
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
)