示例#1
0
 public static void PrintHand(HS_Hand hand)
 {
     foreach (HS_CardInstance card in hand.Cards)
     {
         PrintCard(card);
     }
 }
示例#2
0
 public HS_PlayerInstance(string name, HS_Avatar avatar, HS_Deck deck)
 {
     this.deck   = deck;
     this.hand   = new HS_Hand();
     this.avatar = avatar;
     currentlife = 30;
     this.name   = name;
     crystals    = 0;
     mana        = 0;
 }
示例#3
0
        public void Draw(HS_Hand hand)
        {
            HS_CardInstance cardInstance = DrawCard();

            hand.Add(cardInstance);
        }