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

Method drawBox

bwapi/BWAPIClient/Source/GameImpl.cpp:789–793  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

787 }
788 //--------------------------------------------------- DRAW BOX ---------------------------------------------
789 void GameImpl::drawBox(CoordinateType::Enum ctype, int left, int top, int right, int bottom, Color color, bool isSolid)
790 {
791 if ( !data->hasGUI ) return;
792 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Box,ctype,left,top,right,bottom,0,0,color,isSolid));
793 }
794 //------------------------------------------------ DRAW TRIANGLE -------------------------------------------
795 void GameImpl::drawTriangle(CoordinateType::Enum ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid)
796 {

Callers 3

drawBoxMapMethod · 0.45
drawBoxMouseMethod · 0.45
drawBoxScreenMethod · 0.45

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected