static void Main(string[] args) { RedMallard a = new RedMallard(); simulate(a); Turkey t=new Turkey(); Duck tb = new TurkeyAdapter(t); simulate(tb); string z = Console.ReadLine(); }
public TurkeyAdapter(Turkey t) { this.turkey = t; }
public TurkeyAdapter(Turkey turkey) { this.turkey = turkey; }