Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
stack_zone_logic.h
Go to the documentation of this file.
1
6
7
#ifndef COCKATRICE_STACK_ZONE_LOGIC_H
8
#define COCKATRICE_STACK_ZONE_LOGIC_H
9
#include "
card_zone_logic.h
"
10
11
#include <QString>
12
#include <qtmetamacros.h>
13
14
class
PlayerLogic
;
15
class
QObject;
16
17
class
StackZoneLogic
:
public
CardZoneLogic
18
{
19
Q_OBJECT
20
public
:
21
StackZoneLogic
(
PlayerLogic
*_player,
22
const
QString &_name,
23
bool
_hasCardAttr,
24
bool
_isShufflable,
25
bool
_contentsKnown,
26
QObject *parent =
nullptr
);
27
28
protected
:
29
void
addCardImpl
(
CardItem
*card,
int
x,
int
y)
override
;
30
};
31
32
#endif
// COCKATRICE_STACK_ZONE_LOGIC_H
card_zone_logic.h
CardItem
Definition
card_item.h:33
CardZoneLogic::CardZoneLogic
CardZoneLogic(PlayerLogic *_player, const QString &_name, bool _hasCardAttr, bool _isShufflable, bool _contentsKnown, QObject *parent=nullptr)
Definition
card_zone_logic.cpp:32
PlayerLogic
Definition
player_logic.h:56
StackZoneLogic::addCardImpl
void addCardImpl(CardItem *card, int x, int y) override
Definition
stack_zone_logic.cpp:19
StackZoneLogic::StackZoneLogic
StackZoneLogic(PlayerLogic *_player, const QString &_name, bool _hasCardAttr, bool _isShufflable, bool _contentsKnown, QObject *parent=nullptr)
Definition
stack_zone_logic.cpp:9
cockatrice
src
game
zones
stack_zone_logic.h
Generated by
1.18.0