summaryrefslogtreecommitdiff
path: root/Plugins/MonoGame.Extended/tests/MonoGame.Extended.Tests/TestGame.cs
blob: dad6e8aac3d67edb8b3927eb07f7a3be20bb53cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using Microsoft.Xna.Framework;

namespace MonoGame.Extended.Tests
{
    public class TestGame : Game
    {
        private readonly GraphicsDeviceManager _graphicsDeviceManager;

        public TestGame()
        {
            _graphicsDeviceManager = new GraphicsDeviceManager(this);
            RunOneFrame();
        }

        protected override void Dispose(bool disposing)
        {
            _graphicsDeviceManager.Dispose();
            base.Dispose(disposing);
        }
    }
}