示例#1
0
 public override void Interact(Ball ball)
 {
     ball.Lower_quality(5);
     System.Console.WriteLine("{0} plays with the {1} ball chasing it around with crazy energy", this.name, ball.color);
 }
示例#2
0
 public override void Interact(Ball ball)
 {
     ball.Lower_quality(15);
     System.Console.WriteLine("{0 } chase the {1} ball all around the house", this.name, ball.color);
 }
示例#3
0
 public override void Interact(Ball ball)
 {
     ball.Lower_quality(18);
     System.Console.WriteLine("{0 } just looks at the {1} ball in a bored manner", this.name, ball.color);
 }
示例#4
0
 public override void Interact(Ball ball)
 {
     ball.Lower_quality(10);
     System.Console.WriteLine("{0 } runs happily after the {1} color ball, bite it and runs back to Joppe", this.name, ball.color);
 }