public static void CleanUp() { if (Program.Mode != ProgramMode.Game) { return; } Terrain.CleanUp(); EntityManager.CleanUp(); FluidManager.Instance.CleanUp(); LogicManager.Instance.CleanUp(); }