BWAPI
trunk/bwapi/TestAIModule/Source/CancelUpgradeTest.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "TestCase.h"
00003 #include <BWAPI.h>
00004 
00005 class CancelUpgradeTest : public TestCase
00006 {
00007   public:
00008     CancelUpgradeTest(BWAPI::UpgradeType upgradeType);
00009     virtual void start();
00010     virtual void update();
00011     virtual void stop();
00012   private:
00013     BWAPI::UpgradeType upgradeType;
00014     BWAPI::UnitType upgraderType;
00015     int startFrame;
00016     int nextFrame;
00017     BWAPI::Unit* upgrader;
00018     int correctMineralCount;
00019     int correctGasCount;
00020     int correctSupplyUsedCount;
00021 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines