public void BuildCity(string cityName) { if (UnitWaitingForOrders()) { Hex.AddCity(cityName); Destroy(); } }
override public void SetHex(Hex newHex) { if (Hex != null) { // Will a city ever LEAVE a hex and enter a new one? Hex.RemoveCity(this); } base.SetHex(newHex); Hex.AddCity(this); }
override public void SetHex(Hex newHex) { if (Hex != null) { //Will cities be able to move from 1 hex to another? newHex.RemoveCity(this); } base.SetHex(newHex); Hex.AddCity(this); }
override public void SetHex(Hex hex) { base.SetHex(hex); Hex.AddCity(this); }