Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
contrib
src
ai
wander.h
1
////////////////////////////////////////////////////////////////////////
2
// Filename : wander.h
3
// Created by : Deepak, John, Navin
4
// Date : 24 Oct 09
5
////////////////////////////////////////////////////////////////////
6
//
7
// PANDA 3D SOFTWARE
8
// Copyright (c) Carnegie Mellon University. All rights reserved.
9
//
10
// All use of this software is subject to the terms of the revised BSD
11
// license. You should have received a copy of this license along
12
// with this source code in a file named "LICENSE."
13
//
14
////////////////////////////////////////////////////////////////////
15
16
#ifndef _WANDER_H
17
#define _WANDER_H
18
19
#include "aiCharacter.h"
20
21
class
AICharacter
;
22
23
class
EXPCL_PANDAAI
Wander
{
24
public
:
25
AICharacter
*_ai_char;
26
double
_wander_radius;
27
LVecBase3
_wander_target;
28
float
_wander_weight;
29
int
_flag;
30
LVecBase3
_init_pos;
31
double
_area_of_effect;
32
33
Wander
(
AICharacter
*ai_ch,
double
wander_radius,
int
flag,
double
aoe,
float
wander_weight);
34
LVecBase3
do_wander();
35
~
Wander
();
36
};
37
38
#endif
LVecBase3f
This is the base class for all three-component vectors and points.
Definition:
lvecBase3.h:105
Wander
Definition:
wander.h:23
AICharacter
Definition:
aiCharacter.h:38
Generated on Mon Feb 1 2016 13:44:14 for Panda3D by
1.8.5