BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Micro/EUnit.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWAPI.h>
00003 #include <BayesianUnit.h>
00004 class EUnit
00005 {
00006     private:
00007         BWAPI::Unit* m_self;
00008         int m_damageTaken;
00009         int m_hp;
00010         double m_distance;
00011     public:
00012         EUnit(BWAPI::Unit* self, double distance);
00013         double& distance();
00014         void update();
00015         int& damageTaken();
00016         BWAPI::Unit* self();
00017         int getPrio(pBayesianUnit u);
00018 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines