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.
39 lines
923 B
39 lines
923 B
using System;
|
|
namespace TheGameExtreme.model.rule
|
|
{
|
|
public class RapidEffect : Rule
|
|
{
|
|
public RapidEffect()
|
|
{
|
|
}
|
|
|
|
// Checker les cartes du haut de pile et celle joué.
|
|
|
|
//protected bool effectLose()
|
|
//{
|
|
// foreach (Stack<Card> orderedStack in ListOrderedStacks)
|
|
// {
|
|
// if (Equals(orderedStack.Peek().getName(), EndGameCard.CARD_ENDGAME))
|
|
// {
|
|
// return true;
|
|
// }
|
|
// }
|
|
// return false;
|
|
//}
|
|
|
|
|
|
//foreach (Card cardPlayed in CurrentCardPlayed)
|
|
//{
|
|
// if (Equals(cardPlayed.GetType(), ThreeCard.CARD_THREE))
|
|
// {
|
|
// if ((nbCardAtBeginOfTurn - CurrentHand.Count) < 3)
|
|
// {
|
|
// return true;
|
|
// }
|
|
// }
|
|
//}
|
|
|
|
|
|
}
|
|
}
|