Exemplo n.º 1
0
 public override void Apply(TypeOfCard typeOfCard)
 {
     _typeOfCard = typeOfCard;
     _typeSetter = new CardTypeSetter(_type(this));
     _typeSetter.Initialize(ChangeTracker);
     _typeOfCard.AddModifier(_typeSetter);
 }
Exemplo n.º 2
0
        public override void Apply(TypeOfCard typeOfCard)
        {
            _typeOfCard = typeOfCard;

            var type = _typeOfCard.Value.Change(subTypes: _landSubtype);

            _cardTypeModifier = new CardTypeSetter(type);
            _cardTypeModifier.Initialize(ChangeTracker);

            _typeOfCard.AddModifier(_cardTypeModifier);
        }