Module: Touch
- Defined in:
- docs/0_Dependencies.rb
Overview
Module responsive of giving information about user Touches on the screen
Defined Under Namespace
Classes: Position
Class Method Summary collapse
- .pressed? ⇒ Boolean
- .pressing_item?(item) ⇒ Boolean
-
.register_events(window)
Register all events in the window.
- .release_item?(item) ⇒ Boolean
-
.released?(index) ⇒ Boolean
Tell if a touch was released.
-
.swap_states
Swap the state of the mouse.
-
.trigger?(index) ⇒ Boolean
Tell if a touch was triggered.
- .trigger_item?(item) ⇒ Boolean
- .was_pressing_item?(item) ⇒ Boolean
Class Method Details
.pressed? ⇒ Boolean
3368 3369 |
# File 'docs/0_Dependencies.rb', line 3368 def pressed? end |
.pressing_item?(item) ⇒ Boolean
3360 3361 |
# File 'docs/0_Dependencies.rb', line 3360 def pressing_item?(item) end |
.register_events(window)
Register all events in the window
3355 3356 |
# File 'docs/0_Dependencies.rb', line 3355 def register_events(window) end |
.release_item?(item) ⇒ Boolean
3366 3367 |
# File 'docs/0_Dependencies.rb', line 3366 def release_item?(item) end |
.released?(index) ⇒ Boolean
Tell if a touch was released
3351 3352 |
# File 'docs/0_Dependencies.rb', line 3351 def released?(index) end |
.swap_states
Swap the state of the mouse
3358 3359 |
# File 'docs/0_Dependencies.rb', line 3358 def swap_states end |
.trigger?(index) ⇒ Boolean
Tell if a touch was triggered
3346 3347 |
# File 'docs/0_Dependencies.rb', line 3346 def trigger?(index) end |
.trigger_item?(item) ⇒ Boolean
3364 3365 |
# File 'docs/0_Dependencies.rb', line 3364 def trigger_item?(item) end |
.was_pressing_item?(item) ⇒ Boolean
3362 3363 |
# File 'docs/0_Dependencies.rb', line 3362 def was_pressing_item?(item) end |