using System;
using System.Collections.Generic;
using TheGameExtreme.model.card;
using TheGameExtreme.model.piles;

namespace TheGameExtreme.model.gameActions.abstractRules
{
    public abstract class JouerUneCarte : GameAction
    {

        public Card OldCard { get; set; }

        protected JouerUneCarte(Piles ListOrderedStacks) : base(ListOrderedStacks)
        {
        }

        public abstract bool play(decimal valueCard, List<Card> CurrentHand, int orderedStackSelected, Player player, List<Card> CurrentCardPlayed);

        protected abstract bool Rule(Card card, Stack<Card> stack, bool bottomUp, Player player, List<Card> CurrentCardPlayed);
    }
}
