public Plane(Flyable flyable) { _flyable = flyable; this.EngineSize = 6000; this.NumberOfWheels = 8; _flyable.Fly("plane"); }
public string Fly() { return(Flyable.Fly()); }
public void PerformFly(string duckName) { Flyable.Fly(duckName); }