--------------------------------------------------- DRAW BOX ---------------------------------------------
| 156 | } |
| 157 | //--------------------------------------------------- DRAW BOX --------------------------------------------- |
| 158 | void GameImpl::drawBox(CoordinateType::Enum ctype, int left, int top, int right, int bottom, Color color, bool isSolid) |
| 159 | { |
| 160 | if (!inScreen(ctype,left,top,right,bottom)) return; |
| 161 | addShape(BWAPIC::Shape(BWAPIC::ShapeType::Box,ctype,left,top,right,bottom,0,0,color,isSolid)); |
| 162 | } |
| 163 | //------------------------------------------------ DRAW TRIANGLE ------------------------------------------- |
| 164 | void GameImpl::drawTriangle(CoordinateType::Enum ctype, int ax, int ay, int bx, int by, int cx, int cy, Color color, bool isSolid) |
| 165 | { |