mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
19 lines
626 B
C++
19 lines
626 B
C++
#include "stack_zone_logic.h"
|
|
|
|
#include "../board/card_item.h"
|
|
#include "card_zone_algorithms.h"
|
|
|
|
StackZoneLogic::StackZoneLogic(Player *_player,
|
|
const QString &_name,
|
|
bool _hasCardAttr,
|
|
bool _isShufflable,
|
|
bool _contentsKnown,
|
|
QObject *parent)
|
|
: CardZoneLogic(_player, _name, _hasCardAttr, _isShufflable, _contentsKnown, parent)
|
|
{
|
|
}
|
|
|
|
void StackZoneLogic::addCardImpl(CardItem *card, int x, int /*y*/)
|
|
{
|
|
CardZoneAlgorithms::addCardToList(cards, card, x, true);
|
|
}
|