Class: UI::Storage::CursorHandler
- Defined in:
- docs/4_Systems_200_Storage.rb
Overview
Class that handle all the logic related to cursor movement between each party of the UI
Instance Method Summary collapse
-
#index ⇒ Integer
Get the index of the cursor.
-
#initialize(cursor) ⇒ CursorHandler
constructor
Create a cusor handler.
-
#mode ⇒ Symbol
Get the cursor mode.
-
#move_down ⇒ Boolean
Move the cursor down.
-
#move_left ⇒ Boolean
Move the cursor to the left.
-
#move_right ⇒ Boolean
Move the cursor to the right.
-
#move_up ⇒ Boolean
Move the cursor up.
Constructor Details
#initialize(cursor) ⇒ CursorHandler
Create a cusor handler
461 462 |
# File 'docs/4_Systems_200_Storage.rb', line 461 def initialize(cursor) end |
Instance Method Details
#index ⇒ Integer
Get the index of the cursor
469 470 |
# File 'docs/4_Systems_200_Storage.rb', line 469 def index end |
#mode ⇒ Symbol
Get the cursor mode
465 466 |
# File 'docs/4_Systems_200_Storage.rb', line 465 def mode end |
#move_down ⇒ Boolean
Move the cursor down
485 486 |
# File 'docs/4_Systems_200_Storage.rb', line 485 def move_down end |
#move_left ⇒ Boolean
Move the cursor to the left
477 478 |
# File 'docs/4_Systems_200_Storage.rb', line 477 def move_left end |
#move_right ⇒ Boolean
Move the cursor to the right
473 474 |
# File 'docs/4_Systems_200_Storage.rb', line 473 def move_right end |
#move_up ⇒ Boolean
Move the cursor up
481 482 |
# File 'docs/4_Systems_200_Storage.rb', line 481 def move_up end |