public override void Apply(DamageRedirections damageRedirections)
        {
            _damageRedirections = damageRedirections;
              _damageRedirection = _damageRedirectionFactory(this);
              _damageRedirection.Initialize(this, Game);

              damageRedirections.Add(_damageRedirection);
        }
Exemple #2
0
        public override void Apply(DamageRedirections damageRedirections)
        {
            _damageRedirections = damageRedirections;
            _damageRedirection  = _damageRedirectionFactory(this);
            _damageRedirection.Initialize(this, Game);

            damageRedirections.Add(_damageRedirection);
        }
Exemple #3
0
 public bool WasAlreadyRedirected(DamageRedirection damageRedirection)
 {
     return _redirections.Contains(damageRedirection);
 }
Exemple #4
0
 public void AddRedirection(DamageRedirection damageRedirection)
 {
     _redirections.Add(damageRedirection);
 }