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.
23 lines
507 B
23 lines
507 B
using System;
|
|
using System.Collections.Generic;
|
|
using TheGameExtreme.model.card;
|
|
|
|
namespace TheGameExtreme.model.rule.playRules
|
|
{
|
|
public class VoidHand : PlayRule
|
|
{
|
|
|
|
public static readonly String REGLE_VOIDHAND = "Void Hand";
|
|
|
|
override public bool Test(Card playedCard, Stack<Card> stack, bool bottomUp, List<Card> CurrentHand)
|
|
{
|
|
if (CurrentHand.Count == 0)
|
|
{
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
}
|
|
}
|