public override void Notify() { // Debug.WriteLine("Shoot Observer"); Ship pShip = ShipMan.GetShip(); pShip.ShootMissile(); }
public override void Notify() { Debug.WriteLine("Shoot Missile Observer"); Ship pShip = ShipManager.GetCurrentShip(); pShip.ShootMissile(); }
public override void Notify() { //Testing purposes //Debug.WriteLine("Shoot"); //get the ship Ship pShip = ShipMan.GetShip(); //tell the ship to shoot/create a missile pShip.ShootMissile(); }
protected override void derivedUpdate(InputSubject pInputSubject) { Ship pShip = ShipManager.GetShip(); pShip.ShootMissile(); }
public override void Notify() { Ship pShip = ShipMan.GetShip(); pShip.ShootMissile(); }