Update thang.coffee

add getGoalState
This commit is contained in:
gosnat 2014-05-13 12:42:48 -05:00
parent 92ffc1d5a2
commit 72b2c84705

View file

@ -38,6 +38,9 @@ module.exports = class Thang
event.thang = @ event.thang = @
@world.publishNote channel, event @world.publishNote channel, event
getGoalState: (goalID) ->
@world.getGoalState goalID
setGoalState: (goalID, status) -> setGoalState: (goalID, status) ->
@world.setGoalState goalID, status @world.setGoalState goalID, status