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

Method onStart

bwapi/ExampleTournamentModule/Source/ExampleTournamentModule.cpp:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6
7void ExampleTournamentAI::onStart()
8{
9 // Set the command optimization level (reduces high APM, size of bloated replays, etc)
10 Broodwar->setCommandOptimizationLevel(MINIMUM_COMMAND_OPTIMIZATION);
11}
12
13int maxAPM;
14void ExampleTournamentAI::onEnd(bool isWinner)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected