Exemple #1
0
        public static void ChooseUnit(AbstractGameObject obj)
        {
            AddChooser(obj);

            _choosedObj = obj.gameObject;
            _choosed    = true;

            UnitBar_HTML.SetupUnitBar(obj);
            AbilityBar_HTML.SetupAbilityBar(obj);
        }
        public void RemoveAbility(Ability ab)
        {
            if (!isHasAbility(ab))
            {
                return;
            }

            AbilityList.Remove(ab);
            AbilityBar_HTML.SetupAbilityBar(this);
        }
 public void RemoveAbilities()
 {
     AbilityList.Clear();
     AbilityBar_HTML.SetupAbilityBar(this);
 }