Ejemplo n.º 1
0
        /// <summary>
        /// Displays the active partyMember with the proper visual colouring,
        /// colouring the background as well for combat clarity
        /// </summary>
        /// <param name="pmd"></param>
        public void DisplayActivePartyMemberCombat(PartyMemberDisplay pmd)
        {
            for (int i = 0; i < PartyManager.instance.GetNumPartyMembers(); i++)
            {
                if (pmd != pmDisplays[i])
                {
                    pmDisplays[i].ShowNormal();
                }
            }

            pmd.ShowActiveCombat();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Displays the active partyMember with the proper visual colouring
        /// </summary>
        /// <param name="pmd"></param>
        public void DisplayActivePartyMemberCombat(PartyMemberDisplay pmd)
        {
            for (int i = 0; i < PartyManager.instance.GetNumPartyMembers(); i++)
            {
                if (pmd != pmDisplays[i])
                {
                    pmDisplays[i].ShowNormal();
                }
            }

            pmd.ShowActiveCombat();
            if (statsPanel.isOpen == true)
            {
                statsPanel.OnEnable();
            }
        }