00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef TG_CONTROLLERPURSUE_H
00019 #define TG_CONTROLLERPURSUE_H
00020
00021 #include "Controller.h"
00022
00023 namespace tagGame
00024 {
00025 class Character;
00026 class Obstacle;
00027
00030 class ControllerPursue : public Controller
00031 {
00032 public:
00033 ControllerPursue(PerceptionPtr perception);
00034 virtual ~ControllerPursue();
00035
00036 virtual void calcAction();
00037
00038 protected:
00039 Character* calcWhoToChase();
00040 void calcIsAngry();
00041
00042 private:
00043 bool isAngry;
00044 };
00045 }
00046
00047 #endif