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