------------------------------------------------- DRAW CIRCLE --------------------------------------------
| 168 | } |
| 169 | //------------------------------------------------- DRAW CIRCLE -------------------------------------------- |
| 170 | void GameImpl::drawCircle(CoordinateType::Enum ctype, int x, int y, int radius, Color color, bool isSolid) |
| 171 | { |
| 172 | if (!inScreen(ctype,x-radius,y-radius,x+radius,y+radius)) return; |
| 173 | addShape(BWAPIC::Shape(BWAPIC::ShapeType::Circle,ctype,x,y,0,0,radius,0,color,isSolid)); |
| 174 | } |
| 175 | //------------------------------------------------- DRAW ELIPSE -------------------------------------------- |
| 176 | void GameImpl::drawEllipse(CoordinateType::Enum ctype, int x, int y, int xrad, int yrad, Color color, bool isSolid) |
| 177 | { |