BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Intelligence/EViewedUnit.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWTA.h>
00003 #include <BWAPI.h>
00004 #include <vector>
00005 #include "Utils/Vec.h"
00006 
00007 struct EViewedUnit
00008 {
00009     // TODO add probability to be in each of the regions.
00010     BWAPI::Unit* unit;
00011     BWAPI::UnitType type;
00012     int HP;
00013     BWAPI::Position position;
00014     unsigned int lastSeen;
00015     Vec velocity;
00016     EViewedUnit() { }
00017     EViewedUnit(BWAPI::Unit* u, unsigned int time);
00018     EViewedUnit(const EViewedUnit& evu);
00019     void update(unsigned int time);
00020     ~EViewedUnit() { }
00021 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines