public static void StopGame() { if (gameHandler != null) { gameHandler.SetProperties(player, Enemies, companion); gameHandlers = GameHandler.AddDataToTable(gameHandler, gameHandlers, displayGames); NeedUpdate = true; } gameHandler = null; }