Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var t = Timer.new()
- t.set_wait_time(3)
- t.set_one_shot(true)
- self.add_child(t)
- t.start()
- yield(t, "timeout")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement