public override void Build(InfoPanelBox.BuildInfo buildInfo)
        {
            base.Build(buildInfo);

            Player = buildInfo.GetArg<Player>("Player");

            UpdateData();

            AddItem(0, NameLabel);
        }
        public override void Build(InfoPanelBox.BuildInfo buildInfo)
        {
            base.Build(buildInfo);

            if (CurrentCombatant != null)
                CurrentCombatant.OnStatusChange -= new CombatantStatusChangeEventHandler(CurrentCombatant_OnStatusChange);

            CurrentCombatant = buildInfo.GetArg<BaseCombatant>("Combatant");
            CurrentCombatant.OnStatusChange += new CombatantStatusChangeEventHandler(CurrentCombatant_OnStatusChange);

            UpdateData();

            AddItem(0, NameLabel);
            AddItem(0, HpLabel);
            AddItem(0, SpLabel);
            AddItem(0, MpLabel);
        }