T
Tim Mcd
@t1 = Thread.new do
b = false
until b == true
sleep 10
puts "you are getting cold!"
end
end
So, that gets called when a play enters a 'cold' room. I want to set in
the 'leave' event:
@t1.close
or something to that effect, but i get errors when trying to call
@t1.exit... Any thoughts?
b = false
until b == true
sleep 10
puts "you are getting cold!"
end
end
So, that gets called when a play enters a 'cold' room. I want to set in
the 'leave' event:
@t1.close
or something to that effect, but i get errors when trying to call
@t1.exit... Any thoughts?