Ejemplo n.º 1
0
        public Blocker(Card card, Attacker attacker, Engine game)
        {
            Card = card;
            Game = game;

            _attacker = new Trackable<Attacker>(attacker);
            _attacker.Initialize(ChangeTracker);

            _assignedDamage.Initialize(ChangeTracker);
            _damageAssignmentOrder.Initialize(ChangeTracker);
        }
Ejemplo n.º 2
0
 private Blocker CreateBlocker(Card blocker, Attacker attacker)
 {
     return new Blocker(blocker, attacker, Game);
 }