BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Macro/UpgradeTimeline.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <BWAPI.h>
00003 #include <map>
00004 
00005 //Timeline of when the levels of UpgradeTypes will be increased.
00006 class UpgradeTimeline
00007 {
00008   public:
00009     UpgradeTimeline();
00010     void reset();
00011     int getFirstTime(BWAPI::UpgradeType t, int level);
00012     int getFinalLevel(BWAPI::UpgradeType t);
00013     void registerUpgradeLevelIncrease(int frame, BWAPI::UpgradeType t);
00014     std::map< BWAPI::UpgradeType, std::map< int, int > > upgradeEvents;
00015 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines