Пример #1
0
 public Pitcher()
 {
     batBehavior   = new SwingNothing();
     throwBehavior = new ThrowPitch();
     catchBehavior = new CatchGlove();
 }
Пример #2
0
 public Catcher()
 {
     batBehavior   = new SwingNothing();
     catchBehavior = new CatchWithCatchersMitt();
     throwBehavior = new ThrowPitcher();
 }
Пример #3
0
 public Fielder()
 {
     batBehavior   = new SwingNothing();
     throwBehavior = new ThrowFielder();
     catchBehavior = new CatchGlove();
 }