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

Method drawLine

bwapi/BWAPIClient/Source/GameImpl.cpp:819–823  ·  view source on GitHub ↗

-------------------------------------------------- DRAW LINE ---------------------------------------------

Source from the content-addressed store, hash-verified

817 }
818 //-------------------------------------------------- DRAW LINE ---------------------------------------------
819 void GameImpl::drawLine(CoordinateType::Enum ctype, int x1, int y1, int x2, int y2, Color color)
820 {
821 if ( !data->hasGUI ) return;
822 addShape(BWAPIC::Shape(BWAPIC::ShapeType::Line,ctype,x1,y1,x2,y2,0,0,color,false));
823 }
824 int GameImpl::getLatencyFrames() const
825 {
826 return data->latencyFrames;

Callers

nothing calls this directly

Calls 1

ShapeClass · 0.85

Tested by

no test coverage detected