public boolean checkMapRectCollision(Shape collisionShape){
		int collWidth;
		int collHeight;
		int rectX;
		int rectY;
		boolean testBoolean = false;
		
		for(int i = 0; i <= tileMap[0].length-1; i++){
			for(int c = 0; c <= tileMap.length-1; c++){
				if(tileMap[c][i] != null){
					if(tileMap[c][i].hasCollision){
						collWidth = tileMap[c][i].getWidth();
						collHeight = tileMap[c][i].getHeight();
						
						rectX = mapX*GameplayState.MAP_WIDTH+(c*collWidth);
						rectY = mapY*GameplayState.MAP_HEIGHT+(i*collHeight);
							
						Rectangle temp = new Rectangle(rectX, rectY, collWidth,collHeight);
						
						if(collisionShape.intersects(temp)){
							testBoolean = true;
						}
					}
				}
			}
		}
		return testBoolean;
	}