BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Macro/ResourceRates.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "Resources.h"
00003 #include <map>
00004 class ResourceRates
00005 {
00006   public:
00007     static ResourceRates* create();
00008     static void destroy();
00009     Resources getGatherRate() const;
00010     void update();
00011   private:
00012     ResourceRates();
00013     ~ResourceRates();
00014     Resources gatherRate;
00015     int gatherRateStepSize;
00016     std::list<Resources> resourceHistory;
00017 };
00018 extern ResourceRates* TheResourceRates;
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines