public boolean placeTile(int xC, int yC, Tile tile, JavaPlayer player,
			LinkedList<Developer> gameDevelopers) {

		JavaCell[][] miniMap = createTestMap(xC, yC);
		TileType[][] tileCells = tile.getTileCells();

		if (checkValidTilePlacement(xC, yC, tile, player, miniMap, gameDevelopers)) {
			/*
			 * are we going to be creating the tile here? if we are then we need
			 * to increase cellId here.
			 */int number;
			if (tile.getType() == "two") {
				number = 2;
			} else if (tile.getType() == "three") {
				number = 3;

			} else if (tile.getType() == "one") {
				number = 1;
			} else {
				number = 0;
			}
			cellId++;
			for (int i = 0; i < tileCells.length; i++)
				for (int j = 0; j < tileCells[i].length; j++)
					if (tileCells[i][j] != null) {
						map[miniMap[i][j].getX()][miniMap[i][j].getY()]
								.setNumOriginalSpaces(tile.numOfSpaces());
						map[miniMap[i][j].getX()][miniMap[i][j].getY()]
								.setCellType(tileCells[i][j]);
						map[miniMap[i][j].getX()][miniMap[i][j].getY()]
								.setCellId(cellId);
						map[miniMap[i][j].getX()][miniMap[i][j].getY()]
								.setElevation(map[miniMap[i][j].getX()][miniMap[i][j]
										.getY()].getElevation() + 1);
						map[miniMap[i][j].getX()][miniMap[i][j].getY()]
								.setNumOriginalSpaces(number);
						irrigationMap[miniMap[i][j].getX()][miniMap[i][j]
								.getY()].setNumOriginalSpaces(tile
								.numOfSpaces());
						irrigationMap[miniMap[i][j].getX()][miniMap[i][j]
								.getY()].setCellType(tileCells[i][j]);
						irrigationMap[miniMap[i][j].getX()][miniMap[i][j]
								.getY()].setCellId(cellId);
						irrigationMap[miniMap[i][j].getX()][miniMap[i][j]
								.getY()]
								.setElevation(map[miniMap[i][j].getX()][miniMap[i][j]
										.getY()].getElevation() + 1);
						irrigationMap[miniMap[i][j].getX()][miniMap[i][j]
								.getY()].setNumOriginalSpaces(number);

					}
			
			checkForSurroundedIrrigationCells(xC, yC, tile, gameDevelopers);

			if (placedLandTile(xC, yC))
				player.placedLandTile();

			bodiesOfWater.clear();

			return true;
		}

		return false;
	}