VR-Forces Development_Version 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
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
32
protected
:
34
DtVrfObjectNavInterface
(
DtVrfObject
* vrfObject);
36
virtual
bool
init
();
37
38
public
:
39
virtual
void
tick();
40
virtual
void
firstTick();
41
42
virtual
~
DtVrfObjectNavInterface
() = 0;
43
44
virtual
void
addNavAreaChangedCallback(
DtNoArgumentCallbackList::DtCallbackFunctionType
callback,
void
* usr);
45
virtual
void
removeNavAreaChangedCallback(
DtNoArgumentCallbackList::DtCallbackFunctionType
callback,
void
* usr);
46
virtual
void
invokeNavAreaChangedCallbacks();
47
49
virtual
void
changingNavArea(
DtNavArea
* newNavArea);
50
51
protected
:
55
virtual
bool
isCollidableWhenDestroyed()
const
;
56
57
protected
:
58
DtVrfObject
*
myVrfObject
;
59
bool
myFirstTick
;
60
DtNavArea
*
myCurrentNavArea
;
61
62
DtNoArgumentCallbackList
myChangedNavAreaCallbackList
;
63
};
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)