예제 #1
0
 public void TakeTurn(IBaseballBat bat)
 {
     bat.Swing();
 }
예제 #2
0
 public void TakeTurn(IBaseballBat typeOfBat)
 {
     typeOfBat.Swing();
 }