class Works::Mouse
- Works::Mouse
- Reference
- Object
Defined in:
works/mouse.crConstant Summary
-
None =
0_u8
-
Pressed =
3_u8
-
Released =
2_u8
-
Seen =
1_u8
Constructors
Instance Method Summary
- #hover?(ox, oy, width, height)
- #just_pressed?(button : Int)
- #left_just_pressed?
- #left_pressed?
- #pressed(button : Int)
- #pressed?(button : Int)
- #released(button : Int)
- #reset
- #right_just_pressed?
- #right_pressed?
- #to_map_coords(x, y)
- #to_map_coords_centered(x, y, cols, rows)
- #to_xy(x, y)
- #x : Int32
- #x=(x : Int32)
- #y : Int32
- #y=(y : Int32)