コード例 #1
0
 public PinchHitter()
 {
     batBehavior   = new SwingForPower();
     catchBehavior = new CatchNo();
     throwBehavior = new ThrowNothing();
 }
コード例 #2
0
 public Batter()
 {
     batBehavior   = new SwingForContact();
     throwBehavior = new ThrowNothing();
     catchBehavior = new CatchBarehands();
 }