public override void Shoot(Vector2 location) { if (canShoot()) { time_elapsed = Clock.getClock().getTime() - startTime; if (time_elapsed < 6000) { Vector2 relLoc = path.GetLocation(time_elapsed); Location = location + relLoc; //OnShoot(fireShape.makeBullets(location+relLoc, bulletTexture, team, Location.Y)); OnShoot(fireShape.makeBullets(location + relLoc, bulletTexture, team, 4 * Math.PI / 3)); OnShoot(fireShape.makeBullets(location + relLoc, bulletTexture, team, 8 * Math.PI / 3)); OnShoot(fireShape.makeBullets(location + relLoc, bulletTexture, team, 4 * Math.PI)); wasShot(); } else if (time_elapsed > 8000) { startTime = 8000; } } }