Beispiel #1
0
 public Pitcher()
 {
     batBehavior   = new SwingNothing();
     throwBehavior = new ThrowPitch();
     catchBehavior = new CatchGlove();
 }
Beispiel #2
0
 public Fielder()
 {
     batBehavior   = new SwingNothing();
     throwBehavior = new ThrowFielder();
     catchBehavior = new CatchGlove();
 }