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

Method getNeighbor

bwapi/BWAPI/Source/BW/Pathing.cpp:43–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 region *region::getNeighbor(u8 index) const
44 {
45 if ( index <= this->neighborCount )
46 return getRegionFromId(this->neighbors[index]);
47 return NULL;
48 }
49
50 Position region::getCenter() const
51 {

Callers 2

UpdateRegionRelationsMethod · 0.80
Pathing.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected