Desperately tried to un-spaghetti LevelGenerator