mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -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 = @
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue