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