Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        public override void Dispose()
        {
            CurrentAction = null;

            if (Statistics != null)
            {
                Statistics.Dispose();
                Statistics = null;
            }

            if (SpellBook != null)
            {
                SpellBook.Dispose();
                SpellBook = null;
            }

            if (Inventory != null)
            {
                Inventory.Dispose();
                Inventory = null;
            }

            m_listeners.Clear();
            m_listeners = null;

            m_chatByChannel.Clear();
            m_chatByChannel = null;
            m_map           = null;

            base.Dispose();
        }