EmptyKeys.UserInterface.MonoGameEngine.MonoGameEngine C# (CSharp) Method

MonoGameEngine() public method

Initializes a new instance of the MonoGameEngine class.
public MonoGameEngine ( Microsoft.Xna.Framework.Graphics.GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight ) : System
graphicsDevice Microsoft.Xna.Framework.Graphics.GraphicsDevice The graphics device.
nativeScreenWidth int Width of the native screen.
nativeScreenHeight int Height of the native screen.
return System
        public MonoGameEngine(GraphicsDevice graphicsDevice, int nativeScreenWidth, int nativeScreenHeight)
            : base()
        {
            renderer = new MonoGameRenderer(graphicsDevice, nativeScreenWidth, nativeScreenHeight);
        }
MonoGameEngine