Exemplo n.º 1
0
        public Player(string name = null, Strategy strategy = null)
        {
            Strategy = strategy;
            if (!string.IsNullOrEmpty(name))
                Name = name;

            Hand = new List<Card>();
            Deck = new List<Card>();
        }
Exemplo n.º 2
0
 public Player(string name, int health, int mana, int manaSlots, List<Card> deck, List<Card> hand, Strategy strategy = null)
 {
     Name = name;
     Health = health;
     Mana = mana;
     ManaSlots = manaSlots;
     Strategy = strategy;
     Deck = deck;
     Hand = hand;
 }