Update world.coffee

add getGoalState
Merge pull request #996 from gosnat/patch-8

Update world.coffee