-------------------------------------------------- DRAW LINE ---------------------------------------------
| 186 | } |
| 187 | //-------------------------------------------------- DRAW LINE --------------------------------------------- |
| 188 | void GameImpl::drawLine(CoordinateType::Enum ctype, int x1, int y1, int x2, int y2, Color color) |
| 189 | { |
| 190 | if (!inScreen(ctype,x1,y1,x2,y2)) return; |
| 191 | addShape(BWAPIC::Shape(BWAPIC::ShapeType::Line,ctype,x1,y1,x2,y2,0,0,color,false)); |
| 192 | } |
| 193 | //--------------------------------------------------- HAS GUI ---------------------------------------------- |
| 194 | bool GameImpl::isGUIEnabled() const |
| 195 | { |