VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveSim
patrolBetweenAgent.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
6
#pragma once
7
8
#include <
bhaveSim/bhaveSimDefines.h
>
9
#include "
vrfTaskAgent.h
"
10
#include <kyruntime.h>
11
#include <
vrfobjcore/vrfObject.h
>
12
13
namespace
BHAVE
14
{
16
class
DT_DLL_bhaveSim
DtPatrolBetweenAgent
:
public
DtVrfTaskAgent
17
{
18
public
:
19
20
DtPatrolBetweenAgent
(
21
DtVrfEntityBot
* bot,
22
const
char
*
task
,
23
const
char
* arg1,
24
const
char
* arg2,
25
const
char
* arg3,
26
const
char
* arg4,
27
const
char
* command);
28
29
virtual
~
DtPatrolBetweenAgent
();
30
32
virtual
void
Clear();
33
35
virtual
bool
Think();
36
38
virtual
bool
HasFinished();
39
40
virtual
void
setNextDestination();
41
43
virtual
void
onTeleport();
44
46
virtual
void
encodeTask(
DtKynapsePSR
*);
47
49
virtual
void
decodeTask(
DtKynapsePSR
*);
50
51
protected
:
52
53
Kaim::GotoAgent*
myGotoAgent
;
54
KyResult
myStatus
;
55
bool
myFinishedStatus
;
56
int
myCurrentValue
;
57
DtVrfObject
*
myPointObject
;
58
DtVrfObject
*
myPoint2Object
;
59
};
60
61
}
//namespace BHAVE
62
63
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)