arctic-masher/utilities.py

4 lines
136 B
Python
Raw Normal View History

2023-05-18 07:56:24 +00:00
from globals import *
def checkOOBounds(pos):
return pos[0] > tileCountx - 1 or pos[1] > tileCounty - 1 or pos[0] < 0 or pos[1] < 0