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

namespace DuckModel
{
    public class RubberDucky : DuckBehaviour
    {
        public override void Display()
        {
            Console.WriteLine("I am a Rubber ducky");
        }

        public RubberDucky()
        {
            base.SetFlyBehaviour(new NoFly());
            base.SetQuackBehaviour(new Squeak());
        }
    }
}
