Beispiel #1
0
        private void FillHand(CardHand hand)
        {
            for (int i = 0; i < _random.Next(4, 6); i++)
            {
                Card card = _gameFactory.CreateCard(
                    GetRandomCardTypeId(),
                    hand.transform);

                hand.Add(card);
            }
        }