BWAPI
trunk/bwapi/TestAIModule/Source/FollowTest.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "TestCase.h"
00003 #include <BWAPI.h>
00004 
00005 class FollowTest : public TestCase
00006 {
00007   public:
00008     FollowTest(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 started;
00020 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines