Method: Core::States::State#update_cursor
- Defined in:
- lib/states/states.rb
#update_cursor ⇒ Object
21 22 23 24 |
# File 'lib/states/states.rb', line 21 def update_cursor @x, @y = @window.mouse_x, @window.mouse_y @cursor.update(@x, @y) end |