public PlayResult DoSpyMission__Turn(SpyMission mission, Location target) { if (!target.IsValid) { return(new PlayResult(PlayError.InvalidLocation)); } PlayResult result = theEmpire.Play(Protocol.sSetSpyMission + ((int)mission << 4)); if (!result.OK) { return(result); } else { result = MoveToNeighborOf__Turn(target); if (!result.OK || result.UnitRemoved || result.NewUnitOrCitySpotted) { return(result); } else { return(Step__Turn(target)); } } }
public PlayResult DoSpyMission__Turn(SpyMission mission, ICity city) { return(DoSpyMission__Turn(mission, city.Location)); }