Beispiel #1
0
		public DeckCard( Deck deck, Card card )
			: base( card ) {
			mDeck = deck;
		}
Beispiel #2
0
		public bool Add( Card card ) {
			return mCards.Add( card, this );
		}
Beispiel #3
0
		public void Remove( Card card ) {
			mCards.Remove( card );
		}
Beispiel #4
0
		/// <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;
		}