commandHelp.h

Go to the documentation of this file.
00001 /*
00002  * commandHelp.h
00003  *
00004  *  Created on: Feb 26, 2012
00005  *      Author: sushil
00006  */
00007 
00008 #ifndef COMMANDHELP_H_
00009 #define COMMANDHELP_H_
00010 
00011 #include <OgreVector3.h>
00012 
00013 #include <ent.h>
00014 
00015 //#include <commandFactory.h>
00016 //#include <ai/gather.h>
00017 #include "buildings.h"
00018 
00019 namespace FastEcslent {
00020     
00021     class CommandFactory;
00022     class Gather;
00023     class Minerals;
00024 Move* createMoveForEnt(Entity* ent, Ogre::Vector3 pos);
00025 Wait* createWaitForEnt(Entity* ent, double wtime);
00026 Gather* createGatherForEntAndMineral(SCVehicle *scv, Entity *resource);
00027 
00028 void  setMoveForEnt(Entity* ent, Ogre::Vector3 pos);
00029 void  addMoveForEnt(Entity* ent, Ogre::Vector3 pos);
00030 
00031 void  setPotentialMoveForEnt(Entity* ent, Ogre::Vector3 pos, bool append);
00032 std::deque<Command*> addCommandForEnt(Entity* ent, CommandFactory* commandFactory, std::pair<int, Ogre::Vector3 > mouseTargets);
00033 
00034 
00038 void setGatherForEnt(Entity* ent, Entity* resource, bool append);
00039 std::string EntityTypeToIconName(EntityType entType);
00040 
00041 }
00042 
00043 #endif /* COMMANDHELP_H_ */

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