-------------------------------------------------- DRAW LINE ---------------------------------------------
| 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; |