public static boolean pointIsInBuffer(int px, int py, int buffer, int x, int y, int width, int height) {
		return px + buffer > x && px - buffer < x + width && py + buffer > y && py - buffer < y + height;
	}