Exemplo n.º 1
0
        public override void ShootMissile(Ship pShip)
        {
            Missile pMissile = ShipMan.ActivateMissile();

            pMissile.SetPos(pShip.x, pShip.y + 20);
            pMissile.SetActive(true);
            pShip.PlaySound();

            // switch states
            this.Handle(pShip);
        }