public void generateFireworks(float x, float y) { fireWorks = new Fireworks(game, new Vector2(x, y)); fireWorks.AutoInitialize(game.GraphicsDevice, game.Content, TankGame.spriteBatch); fireWorks.UpdateOrder = 100; fireWorks.DrawOrder = 100; fireWorks.Visible = true; }