BioinstSim
2
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
randomwalkbehavior.h
1
#ifndef RANDOMWALKBEHAVIOR_H_
2
#define RANDOMWALKBEHAVIOR_H_
3
4
/******************************************************************************/
5
/******************************************************************************/
6
7
#include "behavior.h"
8
9
/******************************************************************************/
10
/******************************************************************************/
11
12
class
CRandomWalkBehavior
:
public
CBehavior
13
{
14
public
:
15
CRandomWalkBehavior
(
double
f_change_direction_probability);
16
17
virtual
bool
TakeControl();
18
virtual
void
Action();
19
20
protected
:
21
double
m_fChangeDirectionProbability;
22
};
23
24
/******************************************************************************/
25
/******************************************************************************/
26
27
#endif
Generated on Wed Jun 19 2013 18:02:33 for BioinstSim by
1.8.3.1