-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Would be great to mark a system as disabled, say after it runs once.
pocket.system 'new-level', (pocket) ->
# create a new level
pocket.keys [badguys...]
pocket.keys [obstacles...]
@disable()
pocket.system 'is-level-won', (pocket) ->
if level is 'beaten'
pocket.system('new-level').enable()
Note that here a system can have zero dependencies.
Metadata
Metadata
Assignees
Labels
No labels