boolean isNextToARobot(Robot r, int x, int y) {
		synchronized (robots) {
			for (Robot robot : robots)
				if (robot != r && robot.getX() == x && robot.getY() == y)
					return true;

			return false;
		}
	}