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