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

Method drawEllipse

bwapi/BWAPIClient/Source/GameImpl.cpp:807–811  ·  view source on GitHub ↗

------------------------------------------------- DRAW ELIPSE --------------------------------------------

Source from the content-addressed store, hash-verified

805 }
806 //------------------------------------------------- DRAW ELIPSE --------------------------------------------
807 void GameImpl::drawEllipse(CoordinateType::Enum ctype, int x, int y, int xrad, int yrad, Color color, bool isSolid)
808 {
809 if ( !data->hasGUI ) return;
810 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Ellipse,ctype,x,y,0,0,xrad,yrad,color,isSolid));
811 }
812
813 void GameImpl::drawDot(CoordinateType::Enum ctype, int x, int y, Color color)
814 {

Callers 3

drawEllipseMapMethod · 0.45
drawEllipseMouseMethod · 0.45
drawEllipseScreenMethod · 0.45

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected