private boolean FindCommon(String type, int x, int y) {
		if (x < 0 || y < 0) {return true;}
		if (x >= width || y >= height) {return true;}
		if (type.equals(map[y][x].name)) {return true;}
		return false;
	}