Esempio n. 1
0
 public void GoodSpaceShipLocationChangedEventHandler(object sender, LocationEventArgs e)
 {
     Console.WriteLine(sender);
     Console.WriteLine($"Good SpaceShip Location Changed new location is: X- {e.X}, Y- {e.Y}");
 }
Esempio n. 2
0
 public void GoodSpaceShipDestroyedEventHandler(object sender, LocationEventArgs e)
 {
     Console.WriteLine(sender);
     Console.WriteLine($"Good SpaceShip Destroyed Location X:{e.X} Y: {e.Y}");
 }