Skip to content

Instantly share code, notes, and snippets.

@bomatson
Created March 14, 2014 21:21
Show Gist options
  • Save bomatson/9557215 to your computer and use it in GitHub Desktop.
Save bomatson/9557215 to your computer and use it in GitHub Desktop.
def is_a_hit?(y_position)
if @previous[:y_position] && @previous[:y_position] > 150 && y_position < 150
true
else
false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment