using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DuckModel
{
    public class MallardDuck : DuckBehaviour
    {
        public override void Display()
        {
            Console.WriteLine("I am a Mallard duck");
        }

        public MallardDuck()
        {
            base.SetFlyBehaviour(new FlyWithWings());
            base.SetQuackBehaviour(new Quack());
        }
    }
}
