public void HandleArrival(ArrivalEvent ev) { if (Country.CANADA == ev.Port.Country) { HasBeenInCanada = true; } }
public void HandleArrival(ArrivalEvent ev) { Port = ev.Port; Port.HandleArrival(ev); foreach (Cargo c in cargo) { c.HandleArrival(ev); } }
public void HandleArrival(ArrivalEvent ev) { ev.Ship.Port = this; _customs.Notify(ev.Occurred, ev.Ship, ev.Port); }