BWAPI
|
00001 #pragma once 00002 /* 00003 * SCVAgent.h 00004 */ 00005 #include "GroundAgent.h" 00006 00007 #include <BWAPI.h> 00008 00009 00010 class SCVAgent : public GroundAgent 00011 { 00012 public: 00013 SCVAgent(BWAPI::Unit& u); 00014 virtual void update(); 00015 00016 private: 00017 BWAPI::TilePosition buildLocation; 00018 bool wasConstructing; 00019 // what we are building 00020 BWAPI::Unit * constructingStructure; 00021 };