mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-24 11:50:58 -04:00
Update world.coffee
add getGoalState
This commit is contained in:
parent
92ffc1d5a2
commit
12f351197d
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue