00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _PURSUE_H
00017 #define _PURSUE_H
00018
00019 #include "aiGlobals.h"
00020 #include "aiCharacter.h"
00021
00022 class AICharacter;
00023
00024 class EXPCL_PANDAAI Pursue {
00025
00026 public:
00027 AICharacter *_ai_char;
00028
00029 NodePath _pursue_target;
00030 float _pursue_weight;
00031 LVecBase3f _pursue_direction;
00032 bool _pursue_done;
00033
00034 Pursue(AICharacter *ai_ch, NodePath target_object, float pursue_wt);
00035 ~Pursue();
00036 LVecBase3f do_pursue();
00037 };
00038
00039 #endif