Update world.coffee

add getGoalState