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

Method drawTriangle

bwapi/BWAPIClient/Source/GameImpl.cpp:795–799  ·  view source on GitHub ↗

------------------------------------------------ DRAW TRIANGLE -------------------------------------------

Source from the content-addressed store, hash-verified

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 {
797 if ( !data->hasGUI ) return;
798 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Triangle,ctype,ax,ay,bx,by,cx,cy,color,isSolid));
799 }
800 //------------------------------------------------- DRAW CIRCLE --------------------------------------------
801 void GameImpl::drawCircle(CoordinateType::Enum ctype, int x, int y, int radius, Color color, bool isSolid)
802 {

Callers 3

drawTriangleMapMethod · 0.45
drawTriangleMouseMethod · 0.45
drawTriangleScreenMethod · 0.45

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected