VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
bhaveSim
fleeTaskAgent.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 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 <vlutil/vlTime.h>
12
#include <vlutil/vlString.h>
13
#include <list>
14
15
namespace
BHAVE
16
{
17
19
class
DT_DLL_bhaveSim
DtFleeTaskAgent
:
public
DtVrfTaskAgent
20
{
21
public
:
22
23
DtFleeTaskAgent
(
24
DtVrfEntityBot
* bot,
25
const
char
*
task
,
26
const
char
* arg1,
27
const
char
* arg2,
28
const
char
* arg3,
29
const
char
* arg4,
30
const
char
* command);
31
32
virtual
~
DtFleeTaskAgent
();
33
35
virtual
void
Clear();
36
38
virtual
bool
Think();
39
41
virtual
bool
HasFinished();
42
43
virtual
bool
RefreshContacts();
44
46
virtual
void
onTeleport();
47
48
protected
:
49
static
const
DtTime
FLEE_UPDATE_ENTITIES_PERIOD
;
50
51
Kaim::FleeAgent*
myFleeAgent
;
52
KyResult
myStatus
;
53
bool
myFinishedStatus
;
54
std::list<DtString>
myDangerousNames
;
55
DtTime
myEnemyLocationsDate
;
56
};
57
58
}
//namespace BHAVE
59
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
)