public override void Send(string msg, AbstractColleague colleague) { if (colleague == Farmer) { Cannery.MakeKetchup(msg); } else if (colleague == Cannery) { Shop.SellKetchup(msg); } }
public abstract void Send(string msg, AbstractColleague colleague);