示例#1
0
 public void Ignite(ICombustable monster)
 {
     monster.Burn("Fire");  // Kills with fire
 }
示例#2
0
 public void Ignite(ICombustable burner)
 {
     burner.Burn("Blowtorch");
 }
示例#3
0
 public void Ignite(ICombustable enemy)
 {
     enemy.Burn("Fire");  // Kills with fire
 }