mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
22 lines
655 B
C++
22 lines
655 B
C++
#include "hand_zone_logic.h"
|
|
|
|
#include "../board/card_state.h"
|
|
#include "card_zone_algorithms.h"
|
|
|
|
class PlayerLogic;
|
|
class QObject;
|
|
|
|
HandZoneLogic::HandZoneLogic(PlayerLogic *_player,
|
|
const QString &_name,
|
|
bool _hasCardAttr,
|
|
bool _isShufflable,
|
|
bool _contentsKnown,
|
|
QObject *parent)
|
|
: CardZoneLogic(_player, _name, _hasCardAttr, _isShufflable, _contentsKnown, parent)
|
|
{
|
|
}
|
|
|
|
void HandZoneLogic::addCardImpl(CardState *card, int x, int /*y*/)
|
|
{
|
|
CardZoneAlgorithms::addCardToList(cards, card, x, false);
|
|
}
|