Skip to content

Instantly share code, notes, and snippets.

@crestinglight
Created February 26, 2017 02:06
Show Gist options
  • Select an option

  • Save crestinglight/064d10fa771e6b9752ae3586aae27e92 to your computer and use it in GitHub Desktop.

Select an option

Save crestinglight/064d10fa771e6b9752ae3586aae27e92 to your computer and use it in GitHub Desktop.
def validateXY(x, y)
intX = x.to_i
intY = y.to_i
if (intX > 380) && (intX < 419) && (intY > 262) && (intY < 302)
return true
else
return false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment