/// <summary> /// Sets up all the initial debug console variables and functions used in the game. /// </summary> private void SetUpDebugVals() { // Add all variables _debugConsole.AddVar("showFramerate", false); _debugConsole.AddVar("drawBorders", false); _debugConsole.AddVar("drawGrids", false); _debugConsole.AddVar("drawCollision", false); _debugConsole.AddVar("collisionChecks", false); _debugConsole.AddVar("systemRuntime", false); _debugConsole.AddVar("showCameraPos", false); _debugConsole.AddVar("showKeys", false); // Add all functions _debugConsole.AddFunc("ToggleFullscreen", (string[] args) => _graphics.ToggleFullScreen()); _debugConsole.AddFunc("PopScene", (string[] args) => _scenes.Pop()); _debugConsole.AddFunc("TestUI", (string[] args) => _scenes.Push(new UITest(_gameObjects, Content))); }