Exemple #1
0
        public void RemoveAffector(AffectedValueAffector <VALUE_TYPE> a)
        {
            affectors.Remove(a);
            a.Initialize(null);

            WakeUp();
        }
Exemple #2
0
        public AffectedValueAffector <VALUE_TYPE> AddAffector(AffectedValueAffector <VALUE_TYPE> a)
        {
            affectors.Add(a);
            a.Initialize(this);

            WakeUp();
            return(a);
        }