public void cont() { Graven tempGraven = guiComponent.tileEngine as Graven; tempGraven.setWorld(null); (tempGraven.world as GameWorld).player.respawn(); }