/// <summary> /// create Black Jack data from Card /// </summary> /// <param name="card"></param> /// <param name="internalDeckId"></param> public void AddCardData(Card card, int internalDeckId) { m_suit = (int)card.Suit(); m_id = card.CardId(); m_isTurned = card.IsTurned(); m_internalDeckId = internalDeckId; m_z = card.m_z; m_value = ComputeCardValue(card); }