public void GoodSpaceShipDestryedEventHandler(object sender, LocationEventArgs e) { Console.WriteLine("Good spaceship destroyed - Game Over!"); Console.WriteLine($"The ship has been destroyed by: {sender} The ship position reset to {e.X} and {e.Y}"); }
public void GoodSpaceShipLocationChangedEventHandler(object sender, LocationEventArgs e) { Console.WriteLine($"The ship has been moved by:{sender} The ship is now at{e.X} and {e.Y}"); }