groupAI.h

Go to the documentation of this file.
00001 /*
00002  * groupAI.h
00003  *
00004  *  Created on: Feb 2, 2012
00005  *      Author: sushil
00006  */
00007 
00008 #ifndef GROUPAI_H_
00009 #define GROUPAI_H_
00010 
00011 #include <deque>
00012 #include <aspect.h>
00013 #include <command.h>
00014 
00015 namespace FastEcslent {
00016 
00017 class GroupAI : public GroupAspect {
00018         public:
00019                 std::deque<Command*> commands;
00020                 boost::mutex groupLock;
00021 
00022 
00023 
00024                 GroupAI (Group* grp, GroupAspectType gat): GroupAspect(grp, gat) {};
00025                 virtual void tick(double dt);
00026                 virtual void init();
00027                 void addCommand(Command *cmd);
00028                 void setCommand(Command *cmd);
00029                 void setCommandList(std::deque<Command*> cmds);
00030         };
00031 }
00032 
00033 #endif /* GROUPAI_H_ */

Generated on Fri Dec 13 14:54:16 2013 for FastECSLent by  doxygen 1.5.4