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