| 229 | } |
| 230 | |
| 231 | void drawBullets() |
| 232 | { |
| 233 | for (auto &b : Broodwar->getBullets()) |
| 234 | { |
| 235 | Position p = b->getPosition(); |
| 236 | double velocityX = b->getVelocityX(); |
| 237 | double velocityY = b->getVelocityY(); |
| 238 | Broodwar->drawLineMap(p, p + Position((int)velocityX, (int)velocityY), b->getPlayer() == Broodwar->self() ? Colors::Green : Colors::Red); |
| 239 | Broodwar->drawTextMap(p, "%c%s", b->getPlayer() == Broodwar->self() ? Text::Green : Text::Red, b->getType().c_str()); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | void drawVisibilityData() |
| 244 | { |
no test coverage detected