public Player(String Name) { playerName = Name; m_Deck = new Deck(); m_Turn = 1; m_TotalTurn = 1; m_PlayerLevel = 1; m_totalNumberCardsInDeck = 30; m_numberCardsInHand = 5; m_numberCardsLeft = TotalNumberCardsInDeck - m_numberCardsInHand; }
public void playCard(Deck currentDeck) { if (cardLevel < 3 || (CardDefinition.hasLevel4() == true && cardLevel < 4)) { cardLevel++; } }