Exemple #1
0
 public void SetQuackBehaviour(IQuackble quackbleBehaviour)
 {
     quackBehaviour = quackbleBehaviour;
 }
Exemple #2
0
 public DuckBase()
 {
     flyBehaviour   = new FlyWithWings();
     quackBehaviour = new SimpleQuack();
 }