示例#1
0
 public MallardDuck()
 {
     _flybehaviour   = new FlyWithWings();
     _quackbehaviour = new Quacker();
 }
示例#2
0
 public MallardDuck()
 {
     _flybehaviour = new FlyWithWings();
     _quackbehaviour = new Quacker();
 }