Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function objcollide(x, y, xmin, xmax, ymin, ymax){
- if(xmin < x && x < xmax){
- if(ymin < y && y < ymax){
- return true;
- }
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement