/// <summary> /// Sets the partyMemberDisplay for the rewards panel /// </summary> /// <param name="pmd"> PartyMemberDisplay object </param> /// <param name="panelName"> String </param> /// <param name="EXPBarRef"> EXPBar object </param> /// <param name="LVLTextRef"> LocalizedText object </param> public void SetPartyMemberDisplayRewardsPanel(PartyMemberDisplay pmd, string panelName, EXPBar EXPBarRef, LocalizedText LVLTextRef) { this.pmdRewardsPanel = pmd; SetEXPBar(panelName, EXPBarRef); SetLVLText(panelName, LVLTextRef); }
/// <summary> /// Sets the partyMemberDisplay for the skillsPanel /// </summary> /// <param name="pmd"></param> public void SetPartyMemberDisplaySkillsPanel(PartyMemberDisplay pmd) { this.pmdSkillsPanel = pmd; }
/// <summary> /// Sets the partyMemberDisplay of displayed partyMember. /// Also initializes the eventDescription component reference, which is always /// guaranteed to happen as the partyMemberDisplay will always be initialized on moving /// to the Area scene. /// </summary> /// <param name="pmd"> PartyMemberDisplay to show this partyMember's information </param> /// <param name="panelName"> Name of panel </param> /// <param name="HPBar"> HPBar reference </param> /// <param name="MPBar"> MPBar reference </param> public void SetPartyMemberDisplay(PartyMemberDisplay pmd, string panelName, Bar HPBar, Bar MPBar) { this.pmdPartyPanel = pmd; SetHPAndMPBar(panelName, HPBar, MPBar); SetExternalDisplayComponents(); }