Exemple #1
0
        // protected override void Draw(GameTime gameTime)
        // {
        //     base.Update(gameTime);
        //     if(IsPaused)
        //         return;
        // }

        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            // Create a new SpriteBatch, which can be used to draw textures.
            SpriteBatch = new Microsoft.Xna.Framework.Graphics.SpriteBatch(GraphicsDevice);
            SpriteBatch.LoadTextures(GraphicsDevice);
        }