static void RootConsoleRender(object sender, EventArgs e) { if (MainGraphicDisplay.IsDirty) { rootConsole.Clear(); rootConsole = MainGraphicDisplay.CopyDisplayToRootConsole(rootConsole); rootConsole.Draw(); } }
static void RunGame() { while (true) { MainGraphicDisplay.UpdateGameScreen(); // TODO: Swap the timer around. Entities.Monsters.Monster.UpdateMonsters(_currentLevel); Entities.Player.Player.UpdatePlayer(_currentLevel); if (_quit) { SaveGame(); return; } _currentTime++; } }