Ejemplo n.º 1
0
        public void Add(Counter counter)
        {
            counter.ModifyStrenght(_strenght);
              _counters.Add(counter);

              Publish(new CounterAddedEvent(counter, _owningCard));
        }
Ejemplo n.º 2
0
        public void Remove(Counter counter)
        {
            if (_counters.Remove(counter))
              {
            counter.Remove();
              }

              Publish(new CounterRemovedEvent(counter, _owningCard));
        }