mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 19:11:31 -07:00
cba9ce2b2b
* [Game/Zones] Simple move refactor to differentiate between logic and graphics for zones Took 21 minutes * Clean up game/zones/logic folder. Took 6 minutes * Adjust tests. Took 3 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
27 lines
626 B
C++
27 lines
626 B
C++
/**
|
|
* @file stack_zone_logic.h
|
|
* @ingroup GameLogicZones
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef COCKATRICE_STACK_ZONE_LOGIC_H
|
|
#define COCKATRICE_STACK_ZONE_LOGIC_H
|
|
#include "card_zone_logic.h"
|
|
|
|
class StackZoneLogic : public CardZoneLogic
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
StackZoneLogic(Player *_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_STACK_ZONE_LOGIC_H
|