Module: Hate::Input::Mouse
- Defined in:
- lib/hate/input.rb
Class Method Summary collapse
- .motion(x, y, xr, yr, state) ⇒ Object
- .pressed(x, y, button) ⇒ Object
- .released(x, y, button) ⇒ Object
Class Method Details
.motion(x, y, xr, yr, state) ⇒ Object
29 30 31 |
# File 'lib/hate/input.rb', line 29 def self.motion(x, y, xr, yr, state) Hate::Core::Callbacks.mousemotion(x, y, xr, yr, state) end |
.pressed(x, y, button) ⇒ Object
21 22 23 |
# File 'lib/hate/input.rb', line 21 def self.pressed(x, y, ) Hate::Core::Callbacks.mousepressed(x, y, ) end |
.released(x, y, button) ⇒ Object
25 26 27 |
# File 'lib/hate/input.rb', line 25 def self.released(x, y, ) Hate::Core::Callbacks.mousereleased(x, y, ) end |