public void actuallyChangeWorld(bGameState newWorld) { if (newWorld != null) { if (world != null) world.end(); world = newWorld; world.game = this; newWorld.init(); requestedWorldChange = false; nextWorld = null; } else { Console.WriteLine("An invalid attemp to change world occured:"); Console.WriteLine("Request: " + (requestedWorldChange ? "issued " : "not issued; ") + "Valid instance: " + ((nextWorld != null) ? "yes" : "no")); } }