Implement Manager#handle

This commit is contained in:
Thibault Jouan
2015-04-08 23:40:05 +00:00
parent 498feb809e
commit c8f12af987
2 changed files with 11 additions and 1 deletions

View File

@@ -21,6 +21,9 @@ module Uh
end
def handle event
case event.type
when :key_press then @events.emit :key, event.key.to_sym
end
end
end
end