/** Resets the game and pops a window up stopping the application from continuing */ private void performGameReset() { CoM.FullReset(); var modalState = new ModalNotificaionState("Game Reset", "The game has been reset and must be restarted."); modalState.ConfirmationButton.Visible = false; Engine.PushState(modalState); CoM.SaveOnExit = false; }