Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }