Panda3D
pursue.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 pursue.h
10  * @author Deepak, John, Navin
11  * @date 2009-10-24
12  */
13 
14 #ifndef _PURSUE_H
15 #define _PURSUE_H
16 
17 #include "aiGlobals.h"
18 #include "aiCharacter.h"
19 
20 class AICharacter;
21 
22 class EXPCL_PANDAAI Pursue {
23 
24 public:
25  AICharacter *_ai_char;
26 
27  NodePath _pursue_target;
28  float _pursue_weight;
29  LVecBase3 _pursue_direction;
30  bool _pursue_done;
31 
32  Pursue(AICharacter *ai_ch, NodePath target_object, float pursue_wt);
33  ~Pursue();
34  LVecBase3 do_pursue();
35 };
36 
37 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Definition: pursue.h:22
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...
Definition: nodePath.h:161