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

Method setRange

bwapi/BWAPILIB/Source/Game.cpp:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 this->setValue(p.x,p.y,value);
136 };
137 void setRange(int left, int top, int right, int bottom, unsigned char value)
138 {
139 for ( int y = top; y < bottom; ++y )
140 for ( int x = left; x < right; ++x )
141 this->setValue(x,y,value);
142 };
143 void setRange(TilePosition lt, TilePosition rb, unsigned char value)
144 {
145 this->setRange(lt.x,lt.y,rb.x,rb.y,value);

Callers 2

Calls 1

setValueMethod · 0.95

Tested by

no test coverage detected