okami 0.0.992 → 0.0.993
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/okami/mouse.rb +3 -2
- metadata +1 -1
data/lib/okami/mouse.rb
CHANGED
@@ -38,8 +38,9 @@ module Okami::Mouse
|
|
38
38
|
not onscreen?
|
39
39
|
end
|
40
40
|
|
41
|
-
def show; $window.cursor_visible = true
|
42
|
-
def hide; $window.cursor_visible = false
|
41
|
+
def show; $window.cursor_visible = true end
|
42
|
+
def hide; $window.cursor_visible = false end
|
43
|
+
def visible=bool; $window.cursor_visible = bool end
|
43
44
|
|
44
45
|
def add_key_down_listener listener_method
|
45
46
|
@@key_down_listeners[ listener_method.receiver ] = listener_method
|