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

Method getCenter

bwapi/Shared/RegionShared.cpp:11–14  ·  view source on GitHub ↗

--------------------------------- GET CENTER ------------------------------------------------------------

Source from the content-addressed store, hash-verified

9 }
10 // --------------------------------- GET CENTER ------------------------------------------------------------
11 BWAPI::Position RegionImpl::getCenter() const
12 {
13 return BWAPI::Position(self->center_x, self->center_y);
14 }
15 // --------------------------------- HIGHER GRND -----------------------------------------------------------
16 bool RegionImpl::isHigherGround() const
17 {

Callers 1

setNeighborsMethod · 0.95

Calls 1

PositionClass · 0.50

Tested by

no test coverage detected