예제 #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;
        }
예제 #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;
        }