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

Method getRegion

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:56–60  ·  view source on GitHub ↗

----------------------------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

54 }
55 //----------------------------------------------------------------------------------------------------------
56 Region GameImpl::getRegion(int regionID) const
57 {
58 auto it = regionMap.find(regionID);
59 return it != regionMap.end() ? it->second : nullptr;
60 }
61 //----------------------------------------------------------------------------------------------------------
62 Player GameImpl::getPlayer(int playerID) const
63 {

Callers 2

UpdateRegionRelationsMethod · 0.45
onMatchStartMethod · 0.45

Calls 1

endMethod · 0.80

Tested by

no test coverage detected