mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Update GoalManager.coffee
add getGoalState
This commit is contained in:
parent
92ffc1d5a2
commit
25287e0298
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ module.exports = class GoalManager extends CocoClass
|
|||
else
|
||||
state[progressObjectName][thang] = false
|
||||
|
||||
getGoalState: (goalID) ->
|
||||
@goalStates[goalID].status
|
||||
|
||||
setGoalState: (goalID, status) ->
|
||||
state = @goalStates[goalID]
|
||||
state.status = status
|
||||
|
|
Loading…
Reference in a new issue