Example #1
0
        public void PlayerGotHitByBullet()
        {
            PlayerSouls TopSoul = m_Souls.Peek();

            if (this.Souls > 1)
            {
                m_SoundManager.PlayCue("LifeDie");
                this.m_PlayerSpaceShip.DidStrike = true;
            }
            else
            {
                this.m_PlayerSpaceShip.IsDying = true;
            }

            KillSoul(TopSoul);
            m_Score = Math.Max(0, m_Score - 1500);
        }
Example #2
0
 private void KillSoul(PlayerSouls TopSoul)
 {
     TopSoul.Dispose();
     TopSoul.Visible = false;
     m_Souls.Pop();
 }