mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 11:33:55 -07:00
31 lines
654 B
C++
31 lines
654 B
C++
/**
|
|
* @file pile_zone_logic.h
|
|
* @ingroup GameLogicZones
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_PILE_ZONE_LOGIC_H
|
|
#define COCKATRICE_PILE_ZONE_LOGIC_H
|
|
#include "card_zone_logic.h"
|
|
|
|
class PileZoneLogic : public CardZoneLogic
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
signals:
|
|
void callUpdate();
|
|
|
|
public:
|
|
PileZoneLogic(PlayerLogic *_player,
|
|
const QString &_name,
|
|
bool _hasCardAttr,
|
|
bool _isShufflable,
|
|
bool _contentsKnown,
|
|
QObject *parent = nullptr);
|
|
|
|
protected:
|
|
void addCardImpl(CardItem *card, int x, int y) override;
|
|
};
|
|
|
|
#endif // COCKATRICE_PILE_ZONE_LOGIC_H
|