GAM456-SpaceInvaders / SpaceInvaders / 0_Input / Observers / ShootObserver.cs
ShootObserver.cs
Raw
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