private static MapPoint getTileAccordingToBuildingType(UnitTypes building) {
		MapPoint buildTile = null;
		boolean disableReportOfNoPlaceFound = false;

		// Bunker
		if (TerranBunker.getBuildingType().ordinal() == building.ordinal()) {
			buildTile = TerranBunker.findTileForBunker();
		}

		// Supply Depot
		// if (TerranSupplyDepot.getBuildingType().ordinal() ==
		// building.ordinal()) {
		// buildTile = TerranSupplyDepot.findTileForDepot();
		// }

		// Missile Turret
		else if (TerranMissileTurret.getBuildingType().ordinal() == building.ordinal()) {
			buildTile = TerranMissileTurret.findTileForTurret();
		}

		// Refinery
		else if (TerranRefinery.getBuildingType().ordinal() == building.ordinal()) {
			buildTile = TerranRefinery.findTileForRefinery();
			disableReportOfNoPlaceFound = true;
		}

		// Base
		else if (TerranCommandCenter.getBuildingType().ordinal() == building.ordinal()) {
			buildTile = TerranCommandCenter.findTileForNextBase(false);
		}

		// Standard building
		else {
			// if (_skipCheckingForTurns > 0) {
			// _skipCheckingForTurns--;
			// return null;
			// }
			buildTile = findTileForStandardBuilding(building);
		}

		if (buildTile == null && !disableReportOfNoPlaceFound) {
			System.out.println("# No tile found for: " + building.getType().getName() + " // error: "
					+ ConstructionPlaceFinder.lastError + " // search radius: " + ConstructionPlaceFinder.lastRadius);
		} else {
			// System.out.println(building.name() + ": " + buildTile + " // search radius: "
			// + ConstructionPlaceFinder.lastRadius);
		}

		return buildTile;
	}