示例#1
0
 public ModelDuck()
 {
     iFlyBehavior   = new FlyNoWays();
     iQuackBehavior = new Quackgaga();
 }
示例#2
0
 public RubberDuck()
 {
     iQuackBehavior = new QuackZz();
     iFlyBehavior   = new FlyNoWays();
 }
示例#3
0
 public DecoyDuck()
 {
     iQuackBehavior = new QuackMute();
     iFlyBehavior   = new FlyNoWays();
 }