BWAPI
trunk/bwapi/TestAIModule/Source/AttackUnitTest.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "TestCase.h"
00003 #include <BWAPI.h>
00004 
00005 class AttackUnitTest : public TestCase
00006 {
00007   public:
00008     AttackUnitTest(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     int startingAttackFrame;
00016     int reachedDamagePointFrame;
00017     BWAPI::Unit* unit;
00018     BWAPI::UnitType unitType;
00019     BWAPI::Unit* target;
00020     BWAPI::UnitType targetType;
00021     int startingHPS;
00022     bool stopped;
00023     int initialScarabCount;
00024 };
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines