![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <pile_zone_logic.h>
Signals | |
| void | callUpdate () |
| Signals inherited from CardZoneLogic | |
| void | cardAdded (CardItem *addedCard) |
| void | cardCountChanged () |
| void | reorganizeCards () |
| void | updateGraphics () |
| void | setGraphicsVisibility (bool visible) |
| void | retranslateUi () |
Public Member Functions | |
| PileZoneLogic (PlayerLogic *_player, const QString &_name, bool _hasCardAttr, bool _isShufflable, bool _contentsKnown, QObject *parent=nullptr) | |
| Public Member Functions inherited from CardZoneLogic | |
| CardZoneLogic (PlayerLogic *_player, const QString &_name, bool _hasCardAttr, bool _isShufflable, bool _contentsKnown, QObject *parent=nullptr) | |
| void | addCard (CardItem *card, bool reorganize, int x, int y=-1) |
| CardItem * | getCard (int cardId) |
| void | removeCard (CardItem *card) |
| virtual CardItem * | takeCard (int position, int cardId, bool canResize=true) |
| void | rawInsertCard (CardItem *card, int index) |
| const CardList & | getCards () const |
| void | sortCards (const QList< CardList::SortOption > &options) |
| QString | getName () const |
| QString | getTranslatedName (bool theirOwn, GrammaticalCase gc) const |
| PlayerLogic * | getPlayer () const |
| bool | contentsKnown () const |
| QList< ZoneViewZone * > & | getViews () |
| void | setAlwaysRevealTopCard (bool _alwaysRevealTopCard) |
| bool | getAlwaysRevealTopCard () const |
| bool | getHasCardAttr () const |
| bool | getIsShufflable () const |
| void | clearContents () |
Protected Member Functions | |
| void | addCardImpl (CardItem *card, int x, int y) override |
Additional Inherited Members | |
| Public Slots inherited from CardZoneLogic | |
| void | moveAllToZone () |
| Protected Attributes inherited from CardZoneLogic | |
| PlayerLogic * | player |
| QString | name |
| CardList | cards |
| QList< ZoneViewZone * > | views |
| bool | hasCardAttr |
| bool | isShufflable |
| bool | alwaysRevealTopCard |
| PileZoneLogic::PileZoneLogic | ( | PlayerLogic * | _player, |
| const QString & | _name, | ||
| bool | _hasCardAttr, | ||
| bool | _isShufflable, | ||
| bool | _contentsKnown, | ||
| QObject * | parent = nullptr ) |
|
overrideprotectedvirtual |
Implements CardZoneLogic.
|
signal |