summaryrefslogtreecommitdiffstats
path: root/lib/iotas/particle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iotas/particle.rb')
-rw-r--r--lib/iotas/particle.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/iotas/particle.rb b/lib/iotas/particle.rb
index 3cb48b3..78975bf 100644
--- a/lib/iotas/particle.rb
+++ b/lib/iotas/particle.rb
@@ -114,6 +114,12 @@ module Iotas
add_dsts d+Iotas::ACT_SEP+a
end
#
+ def set_dst! a, d
+ @room = @door = nil
+ @action = a
+ @dst = d
+ end
+ #
def split_dst!
@dst = @room = @door = @action = nil
return if (n = next_dst).nil?