lib/patience/event_handlers/drag.rb
def move(mouse_pos)
        @tail_cards.keys.each_with_index do |card, i|
          card.pos = mouse_pos + @offset + [0, i*19]
        end
      end
# Changes position of the card's sprite, considering the offset.
Changes position of the card's sprite, considering the offset.
Changes position of the card ' s sprite considering the offset .
def move(mouse_pos)
        @tail_cards.keys.each_with_index do |card, i|
          card.pos = mouse_pos + @offset + [0, i*19]
        end
      end
def move ( mouse_pos ) @tail_cards . keys . each_with_index do | card , i | card . pos = mouse_pos + @offset + [ 0 , i * 19 ] end end
Changes position of the card's sprite, considering the offset.
Changes position of the card ' s sprite considering the offset .
mouse_pos