public boolean isXCollision(int x) {
		Point midpoint = getMidPoint(x, y, BOAT_WIDTH, BOAT_HEIGHT, rotation);
		int centreX = (int) midpoint.getX();
		int centreY = (int) midpoint.getY();
		
		//Color c = new Color(map.grass.getRGB(centreX, centreY));
		if (centreX > 150 && centreX < 1050 && centreY > 0 && centreY < map.grass.getHeight()) {
			Color c = new Color(map.grass.getRGB(centreX-150, centreY));
			//System.out.println("(" + (centreX-150) + ", " + centreY +")" + c.getGreen());
			if (c.getGreen() == 128) {
				return true;
			}
		}
		
		if(midpoint.getX() < 150.0) return true;
		if(midpoint.getX() > gameWidth - 150.0) return true;
		return false;
	}