Add getWorldState() method