using System; using System.Diagnostics; namespace SpaceInvaders { public class ShootObserver : InputObserver { public ShootObserver() : base() { } public override void Notify() { Ship pShip = ShipMan.GetShip(); pShip.ShootMissile(); } } // end class } // end namespace