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

Method drawBox

bwapi/BWAPI/Source/BWAPI/GameDrawing.cpp:158–162  ·  view source on GitHub ↗

--------------------------------------------------- DRAW BOX ---------------------------------------------

Source from the content-addressed store, hash-verified

156 }
157 //--------------------------------------------------- DRAW BOX ---------------------------------------------
158 void GameImpl::drawBox(CoordinateType::Enum ctype, int left, int top, int right, int bottom, Color color, bool isSolid)
159 {
160 if (!inScreen(ctype,left,top,right,bottom)) return;
161 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Box,ctype,left,top,right,bottom,0,0,color,isSolid));
162 }
163 //------------------------------------------------ DRAW TRIANGLE -------------------------------------------
164 void GameImpl::drawTriangle(CoordinateType::Enum ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid)
165 {

Callers

nothing calls this directly

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected