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

Method drawDot

bwapi/BWAPI/Source/BWAPI/GameDrawing.cpp:182–186  ·  view source on GitHub ↗

--------------------------------------------------- DRAW DOT ---------------------------------------------

Source from the content-addressed store, hash-verified

180 }
181 //--------------------------------------------------- DRAW DOT ---------------------------------------------
182 void GameImpl::drawDot(CoordinateType::Enum ctype, int x, int y, Color color)
183 {
184 if (!inScreen(ctype,x,y)) return;
185 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Dot,ctype,x,y,0,0,0,0,color,false));
186 }
187 //-------------------------------------------------- DRAW LINE ---------------------------------------------
188 void GameImpl::drawLine(CoordinateType::Enum ctype, int x1, int y1, int x2, int y2, Color color)
189 {

Callers

nothing calls this directly

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected