module MoveMethods

Public Instance Methods

move_down() click to toggle source
# File lib/helper_tools/move_methods.rb, line 6
def move_down
  current_square[0] += 1 
end
move_left() click to toggle source
# File lib/helper_tools/move_methods.rb, line 10
def move_left
  current_square[1] -= 1 
end
move_right() click to toggle source
# File lib/helper_tools/move_methods.rb, line 14
def move_right
  current_square[1] += 1 
end
move_up() click to toggle source
# File lib/helper_tools/move_methods.rb, line 2
def move_up
  current_square[0] -= 1
end