BWAPI
quorum/ExampleAIModule/MineralModel.h
Go to the documentation of this file.
00001 #ifndef MINERALMODEL_H
00002 #define MINERALMODEL_H
00003 #include <BWAPI.h>
00004 
00005 using namespace BWAPI;
00006 
00007 class MineralModel {
00008 public:
00009         MineralModel::MineralModel(Unit* m);
00010         MineralModel::MineralModel();
00011         void MineralModel::assignUnit();
00012         void MineralModel::removeUnit();
00013         Unit* MineralModel::getUnit();
00014         bool MineralModel::canBeMined();
00015         bool MineralModel::isEmpty();
00016         
00017 private:
00018         Unit* element;
00019         int unitsAssigned;
00020         // may also want to store the units assigned to this resource for later access
00021 };
00022 #endif
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines