00001 #ifndef EMPTY_STRATEGY_H
00002 #define EMPTY_STRATEGY_H
00003
00018 #include <math.h>
00019
00020 #include "Observer.h"
00021 #include "PlansysObservation.h"
00022 #include "mainplansys.h"
00023 #include "waypoint.h"
00024 #include "posix_message_config.h"
00025 #include "observations.h"
00026 #include "init.h"
00027
00028
00029 class EmptyStrategy: public Observer {
00030 public:
00031 EmptyStrategy( PlansysObservation * , int theTeamColor );
00032 ~EmptyStrategy();
00033 void Update( Subject *, int typeOfObservation);
00034 int GetPriority();
00035 int AgentGlobalPriority();
00036 int GetAction( controll_struct *ai_controll_struct );
00037 int SetAgentActive( int active );
00038 int StrategyInterrupted();
00039 int GetInterruptAction(interrupt_controll_struct *interrupt_controll);
00040
00041 private:
00046 int agentPriority;
00047 int inAction;
00048 int activeStrategy;
00049
00050 PlansysObservation *_subject;
00051 ai_waypoint ai_waypoint_3d;
00052 ai_waypoint ai_waypoint_reached;
00053 cv_observation my_cv_observation;
00054 cv_observation color_cv_observation;
00055 proxy_message my_proxy_message;
00056 controll_struct local_controll_struct;
00057
00058
00059 };
00060
00061 #endif