MCPcopy Create free account
hub / github.com/bwapi/bwapi / BuildTest

Class BuildTest

bwapi/TestAIModule/Source/BuildTest.h:5–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <BWAPI.h>
4
5class BuildTest : public TestCase
6{
7 public:
8 BuildTest(BWAPI::UnitType unitType);
9 virtual void start();
10 virtual void update();
11 virtual void stop();
12 private:
13 BWAPI::UnitType unitType;
14 BWAPI::UnitType builderType;
15 int previousUnitCount;
16 int startFrame;
17 int nextFrame;
18 int finishFrame;
19 BWAPI::TilePosition buildLocation;
20 BWAPI::Unit builder;
21 BWAPI::Unit building;
22 bool finishingBuilding;
23};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected