using System;
using TheGameExtreme.model.card.cardType;

namespace TheGameExtreme.model.piles
{
    public class DecimalPiles : Piles
    {

        public DecimalPiles(int nbPile) : base(nbPile)
        {
            for (int i = 0; i < nbPile; i++)
            {
                if (i < (nbPile * 0.5))
                {
                    ListOrderedStacks[i].Push(new ClassicCard(0.01m));
                }
                else
                {
                    ListOrderedStacks[i].Push(new ClassicCard(1m));
                }
            }
        }
    }
}
