public DeckCard( Deck deck, Card card ) : base( card ) { mDeck = deck; }
public bool Add( Card card ) { return mCards.Add( card, this ); }
public void Remove( Card card ) { mCards.Remove( card ); }
/// <summary> /// Clone the card /// </summary> /// <param name="copy"></param> public Card( Card copy ) : this( copy.ID, copy.Name, copy.Type, copy.Strength, copy.Defence, copy.Race, copy.Element.ElementType, copy.Element.ElementLevel, copy.Cost ) { StrengthCurrent = copy.StrengthCurrent; DefenceCurrent = copy.DefenceCurrent; }