public override void bulletCollided() { if (explosion == null) { explosion = new TeleportBlast((TankGame)Game, new Vector2(position.X + (bulletImage.Width / 2), position.Y + (bulletImage.Height / 2) - 10)); explosion.AutoInitialize(Game.GraphicsDevice, Game.Content, TankGame.spriteBatch); explosion.UpdateOrder = 100; explosion.DrawOrder = 100; explosion.Visible = true; ((TankGame)Game).soundManager.teleportBullet.Play(); } if (trail != null) { trail.Dispose(); trail = null; } exploded = true; }