Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public void playCard(Deck currentDeck)
 {
     if (cardLevel < 3 || (CardDefinition.hasLevel4() == true && cardLevel < 4))
       {
     cardLevel++;
       }
 }