Created
March 19, 2017 17:35
-
-
Save crestinglight/0f1deb1bea8b9b1f9d62c5199628bae1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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