VR-Forces 4.3.1 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
examples
bhaveSdkModifySpeed
modifedLifeformBot.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/vrfLifeformBot.h
"
9
10
#include <kyruntime.h>
11
12
#include "
sandConstraint.h
"
13
14
namespace
BHAVE
15
{
16
//This class is a modified version of Lifeform that can treat
17
//sand as a half speed modifier. That is, it can only travel
18
//through sand at half its regular speed.
19
class
DtVrfModifiedLifeformBot
:
public
DtVrfLifeformBot
20
{
21
public
:
22
//
23
KY_DECLARE_BOT(
DtVrfModifiedLifeformBot
)
24
25
DtVrfModifiedLifeformBot
( );
26
virtual
~DtVrfModifiedLifeformBot
();
27
28
//Initialize the pathfinder options. This is done immediately after the pathfinder
29
//is initialized
30
virtual
void
initializePathfinderOptions
();
31
32
//Update Kynapse values from VR-Forces.
33
virtual
void
updateFromVrf
();
34
35
protected
:
36
37
//Modifier for goal
38
DtSandConstraint
mySandConstraint
;
39
};
40
41
}
//namespace BHAVE
42
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)