public boolean checkMove(int x, int y)
	{
		boolean wall = true;
		for (int xx = x - TankPaint.backgroundX - 20; xx < x - TankPaint.backgroundX + 50; xx++)
		{
			for (int yy = y - TankPaint.backgroundY - 20; yy < y - TankPaint.backgroundY + 60; yy++)
			{
				try
				{
					int aux = TankPaint.background.getRGB(xx, yy);

					int red = ((aux & 0x00FF0000) >>> 16); // Red level
					int green = ((aux & 0x0000FF00) >>> 8); // Green level
					int blue = (aux & 0x000000FF); // Blue level

					if (red <= 0 && green == 0 && blue == 0)
					{

						xx = x + 1000;
						yy = y + 1000;

						wall = false;

					}
				}
				catch (Exception rapist)
				{}
			}

		}
		return wall;
	}