예제 #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();
 }