public override void Apply(Protections protections)
        {
            _protections = protections;

            foreach (var cardColor in _colors(this))
            {
                _protections.AddProtectionFromColor(cardColor);
            }
        }
        public override void Apply(Protections protections)
        {
            _protections = protections;

              foreach (var cardColor in _colors(this))
              {
            _protections.AddProtectionFromColor(cardColor);
              }
        }
Example #3
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);
        }
Example #4
0
 // Discord : - CursedLand#2802
 static void Main(string[] args) => Protections.Run(new Context(args));