Bazaar developer reference

CvPlot::isEnemyCity(const CvUnit &) const

Defined in
CvPlot.h, line 270
Class
CvPlot
Not a hook point
written in a header

Code

270	bool isEnemyCity(const CvUnit& kUnit) const271	{272		CvCity* pCity = getPlotCity();273		if(pCity != NULL)274			return kUnit.isEnemy(pCity->getTeam(), this);275276		return false;277	}

Calls

Called by