BWAPI
|
00001 #pragma once 00002 #include "TestCase.h" 00003 #include <BWAPI.h> 00004 00005 class RepairTest : public TestCase 00006 { 00007 public: 00008 RepairTest(BWAPI::UnitType unitType, BWAPI::UnitType targetType); 00009 virtual void start(); 00010 virtual void update(); 00011 virtual void stop(); 00012 private: 00013 int startFrame; 00014 int nextFrame; 00015 BWAPI::Unit* unit; 00016 BWAPI::UnitType unitType; 00017 BWAPI::Unit* target; 00018 BWAPI::UnitType targetType; 00019 bool stopped; 00020 };