module Game::Mouse
Defined in:
game/mouse.crConstant Summary
-
Left =
MouseButton::Left
-
Middle =
MouseButton::Middle
-
Right =
MouseButton::Right
Class Method Summary
- .down?(button : MouseButton)
- .in?(x : Int32 | Float32, y : Int32 | Float32, width : Int32 | Float32, height : Int32 | Float32)
- .position
- .pressed?(button : MouseButton)
- .released?(button : MouseButton)
- .up?(button : MouseButton)
- .wheel
- .x
- .x=(x)
- .y
- .y=(y)
Instance Method Summary
- #all_down?(buttons : Array(MouseButton))
- #all_pressed?(buttons : Array(MouseButton))
- #all_released?(buttons : Array(MouseButton))
- #all_up?(buttons : Array(MouseButton))
- #down?(button : MouseButton)
- #down?(buttons : Array(MouseButton))
- #pressed?(button : MouseButton)
- #pressed?(buttons : Array(MouseButton))
- #released?(button : MouseButton)
- #released?(buttons : Array(MouseButton))
- #up?(button : MouseButton)
- #up?(buttons : Array(MouseButton))
Class Method Detail
def self.in?(x : Int32 | Float32, y : Int32 | Float32, width : Int32 | Float32, height : Int32 | Float32)
#