Exemplo n.º 1
0
        public ValueModifier <T> AddModifier(T startingValue)
        {
            ValueModifier <T> mod = new ValueModifier <T>(this, startingValue);

            mModifiers.Add(mod);
            IsDirty = true;
            InvokeChanged();
            return(mod);
        }
Exemplo n.º 2
0
 public void RemoveImmuneTag(ValueModifier <int> tag)
 {
     mBuffImmuneTags.RemoveModifier(tag);
 }
Exemplo n.º 3
0
 public void RemoveModifier(ValueModifier <T> modifier)
 {
     mModifiers.Remove(modifier);
     IsDirty = true;
     InvokeChanged();
 }