Esempio n. 1
0
        public Card(CardTemplate template)
        {
            _base = new CardBase(template.CreateCardParameters());

            _strenght   = new Strenght(_base);
            _level      = new Level(_base);
            _combatCost = new CombatCost(_base);
            _counters   = new Counters(_strenght);
            _typeOfCard = new TypeOfCard(_base);
            _colors     = new ColorsOfCard(_base);

            _protections = new Protections(_base);

            _simpleAbilities    = new SimpleAbilities(_base);
            _triggeredAbilities = new TriggeredAbilities(_base);
            _activatedAbilities = new ActivatedAbilities(_base);
            _staticAbilities    = new StaticAbilities(_base);
            _castRules          = new CastRules(_base);
            _combatRules        = new CombatRules(_base);

            JoinedBattlefield = new TrackableEvent();
            LeftBattlefield   = new TrackableEvent();
        }
Esempio n. 2
0
 public virtual void Apply(ColorsOfCard colors)
 {
 }