Created
February 26, 2017 02:06
-
-
Save crestinglight/064d10fa771e6b9752ae3586aae27e92 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