static void Main(string[] args) { Bird bird1 = new Duck(); ArrangeBirdInPattern(bird1); Bird bird2 = new Penguin(); ArrangeBirdInPattern(bird2); bird1.Draw(); bird2.Draw(); }
public void PlacePenguin(Penguin bird) { bird.SetLocation(_lon, _lat); }