Exemplo n.º 1
0
 public bool Add(CardData card, int idx)
 {
     if (Cards[idx] == null)
     {
         Cards[idx] = card;
         Display.Add(card, idx, this);
         return(true);
     }
     return(false);
 }
Exemplo n.º 2
0
 protected override bool Add(CardData card)
 {
     CardDisplay.Remove(0);
     CardDisplay.Add(card, 0, this);
     return(base.Add(card));
 }