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