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

Method build

bwapi/BWAPILIB/Source/Unitset.cpp:116–121  ·  view source on GitHub ↗

--------------------------------------------- BUILD ------------------------------------------------------

Source from the content-addressed store, hash-verified

114 }
115 //--------------------------------------------- BUILD ------------------------------------------------------
116 bool Unitset::build(UnitType type, TilePosition target) const
117 {
118 if ( target == TilePositions::None )
119 return this->train(type);
120 return this->issueCommand(UnitCommand::build(nullptr, target, type));
121 }
122 //--------------------------------------------- BUILD ADDON ------------------------------------------------
123 bool Unitset::buildAddon(UnitType type) const
124 {

Callers

nothing calls this directly

Calls 2

trainMethod · 0.95
issueCommandMethod · 0.95

Tested by

no test coverage detected