Update world.coffee

add getGoalState
This commit is contained in:
gosnat 2014-05-13 12:43:39 -05:00
parent 92ffc1d5a2
commit 12f351197d

View file

@ -242,6 +242,9 @@ module.exports = class World
return unless @goalManager
@goalManager.submitWorldGenerationEvent(channel, event, @frames.length)
getGoalState: (goalID) ->
@goalManager.getGoalState(goalID)
setGoalState: (goalID, status) ->
@goalManager.setGoalState(goalID, status)