void SDLCanvas::drawProjectile(Projectile& pro, Color& c) { if(!isDrawProjectilesEnabled()) return; Vector2D trail = pro.loc_; if(scale_ < 0.013) trail += pro.getDirection() * -1500; else trail += pro.getDirection() * -500; drawLine(trail.x_,trail.y_, pro.loc_.x_, pro.loc_.y_, c); }