Panda3D
wander.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file wander.h
10  * @author Deepak, John, Navin
11  * @date 2009-10-24
12  */
13 
14 #ifndef _WANDER_H
15 #define _WANDER_H
16 
17 #include "aiCharacter.h"
18 
19 class AICharacter;
20 
21 class EXPCL_PANDAAI Wander {
22  public:
23  AICharacter *_ai_char;
24  double _wander_radius;
25  LVecBase3 _wander_target;
26  float _wander_weight;
27  int _flag;
28  LVecBase3 _init_pos;
29  double _area_of_effect;
30 
31  Wander(AICharacter *ai_ch, double wander_radius, int flag, double aoe, float wander_weight);
32  LVecBase3 do_wander();
33  ~Wander();
34 };
35 
36 #endif
Definition: wander.h:21
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.