Esempio n. 1
0
 public void ReportDamage(Ship ship)
 {
     Console.WriteLine((ship.ToString() + " got hit"));
     if (ship.Sunk())
     {
         Console.WriteLine((ship.ToString() + " sank :("));
     }
 }