Exemplo n.º 1
0
 private Card Initialize(Card card)
 {
     _chief.Cards.Add(card);
     card.SetChief(_chief);
     card.SetId(_chief.GetEngine().Cache.Register(card));
     card.Reset();
     card.InitAbilities();
     return(card);
 }
Exemplo n.º 2
0
 public Emulated(Chief chief)
 {
     _chiefIndex = chief.Index;
     _engine     = chief.GetEngine().Clone();
     _engine.Emitter.Subscribe(this);
 }