VR-Forces 4.2 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
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 Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)