You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
579 B
24 lines
579 B
using System;
|
|
using TheGameExtreme.model.card.cardType;
|
|
|
|
namespace TheGameExtreme.model.piles
|
|
{
|
|
public class PilesMoins51To51 : Piles
|
|
{
|
|
public PilesMoins51To51(int nbPile) : base(nbPile)
|
|
{
|
|
for (int i = 0; i < nbPile; i++)
|
|
{
|
|
if (i < (nbPile * 0.5))
|
|
{
|
|
ListOrderedStacks[i].Push(new ClassicCard(-50m));
|
|
}
|
|
else
|
|
{
|
|
ListOrderedStacks[i].Push(new ClassicCard(50m));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|