public override void Activate()
        {
            menuAction = new InputAction(new Keys[] { Keys.Escape }, true);
            content = new ContentManager(Manager.Game.Services, Manager.Game.Content.RootDirectory);

            int w = Manager.GraphicsDevice.Viewport.Width;
            int h = Manager.GraphicsDevice.Viewport.Height;

            editor = new MapEditor(content, w, h, vNodeCount, hNodeCount);
        }
        public override void Activate()
        {
            content = new ContentManager(Manager.Game.Services, Manager.Game.Content.RootDirectory);

            screenWidth = config.Layout.GetLength(1) * 50;
            screenHeight = config.Layout.GetLength(0) * 50;

            Manager.GraphicsDevice.PresentationParameters.BackBufferWidth = screenWidth;
            Manager.GraphicsDevice.PresentationParameters.BackBufferHeight = screenHeight;

            level = new Level(content, config);

            pauseAction = new InputAction(new Keys[] { Keys.P, Keys.Escape }, true);
            spawnNightmareAction = new InputAction(new Keys[] { Keys.N }, true);
        }