mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Update thang.coffee
add getGoalState
This commit is contained in:
parent
92ffc1d5a2
commit
72b2c84705
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ module.exports = class Thang
|
|||
event.thang = @
|
||||
@world.publishNote channel, event
|
||||
|
||||
getGoalState: (goalID) ->
|
||||
@world.getGoalState goalID
|
||||
|
||||
setGoalState: (goalID, status) ->
|
||||
@world.setGoalState goalID, status
|
||||
|
||||
|
|
Loading…
Reference in a new issue