Esempio n. 1
0
        //////////////////////////////////////////////////////////////////////////////

        #region Kill

        // should be only called from PlayeList
        internal void Kill()
        {
            Debug.Assert(m_alive);
            m_alive = false;

            StopMoving();
            if (m_bombInHands != null)
            {
                m_bombInHands.isActive = false;
                m_bombInHands          = null;
            }

            m_diseases.CureAll();

            UpdateAnimation();
        }