Example #1
0
        public override void Apply(Protections protections)
        {
            _protections = protections;

            var colors = _colors(this).ToList();

            _modifier = new AddToList <CardColor>(colors);
            _modifier.Initialize(ChangeTracker);
            protections.AddModifier(_modifier);
        }