public Rectangle getRect(int x, int y){
		Rectangle tempRect = new Rectangle(x, y, pixelWidth, pixelWidth);
		Rectangle rect = new Rectangle();
		for (int i = 0; i<this.getMapHeight(); i++){
			for(int j = 0; j<this.getMapWidth();j++){
				if (blockedRect[i][j] == tempRect){
					rect = blockedRect[i][j];
					break;
				}
			}
		}
		return rect;
	}