Beispiel #1
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            IsMouseVisible = GameConstants.VISIBLEMOUSE;
            // set resolution
            graphics.PreferredBackBufferWidth  = GameConstants.WINDOW_WIDTH;
            graphics.PreferredBackBufferHeight = GameConstants.WINDOW_HEIGHT;

            smokePlume = new SmokePlumeParticleSystem(this, 13);
            Components.Add(smokePlume);
        }
Beispiel #2
0
        public Game1()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            IsMouseVisible = GameConstants.VISIBLEMOUSE;
            // set resolution
            graphics.PreferredBackBufferWidth = GameConstants.WINDOW_WIDTH;
            graphics.PreferredBackBufferHeight = GameConstants.WINDOW_HEIGHT;

            smokePlume = new SmokePlumeParticleSystem(this, 13);
            Components.Add(smokePlume);
        }