예제 #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);
        }
예제 #2
0
 private Blocker CreateBlocker(Card blocker, Attacker attacker)
 {
     return new Blocker(blocker, attacker, Game);
 }