From 0a969bb103382bcd3194f55e8a6a6850d8f96e53 Mon Sep 17 00:00:00 2001 From: Darredevil Date: Sat, 29 Mar 2014 03:53:19 +0200 Subject: [PATCH] Added setGoalState --- app/lib/world/thang.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/lib/world/thang.coffee b/app/lib/world/thang.coffee index 6e909cb2f..4dc08269b 100644 --- a/app/lib/world/thang.coffee +++ b/app/lib/world/thang.coffee @@ -38,6 +38,9 @@ module.exports = class Thang publishNote: (channel, event) -> event.thang = @ @world.publishNote channel, event + + setGoalState: (goalID, status) -> + @world.setGoalState goalID, status addComponents: (components...) -> # We don't need to keep the components around after attaching them, but we will keep their initial config for recreating Thangs