mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
[Refactor] Retype card containers and zone logic onto CardState
This commit is contained in:
parent
6d0a2f0cc0
commit
e2cbbecefe
4 changed files with 1 additions and 11 deletions
|
|
@ -19,7 +19,7 @@ class GameMetaInfo;
|
|||
class GameReplay;
|
||||
class GameState;
|
||||
class PlayerManager;
|
||||
|
||||
class CardState;
|
||||
class AbstractGame : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
|||
|
|
@ -1,11 +1,7 @@
|
|||
#include "pile_zone_logic.h"
|
||||
|
||||
#include "../board/card_list.h"
|
||||
#include "../board/card_state.h"
|
||||
|
||||
class PlayerLogic;
|
||||
class QObject;
|
||||
|
||||
PileZoneLogic::PileZoneLogic(PlayerLogic *_player,
|
||||
const QString &_name,
|
||||
bool _hasCardAttr,
|
||||
|
|
|
|||
|
|
@ -1,14 +1,9 @@
|
|||
#include "table_zone_logic.h"
|
||||
|
||||
#include "../board/card_list.h"
|
||||
#include "../board/card_state.h"
|
||||
#include "libcockatrice/card/card_info.h"
|
||||
|
||||
#include <QPoint>
|
||||
|
||||
class PlayerLogic;
|
||||
class QObject;
|
||||
|
||||
TableZoneLogic::TableZoneLogic(PlayerLogic *_player,
|
||||
const QString &_name,
|
||||
bool _hasCardAttr,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "view_zone_logic.h"
|
||||
|
||||
#include "../../client/settings/cache_settings.h"
|
||||
#include "../board/card_list.h"
|
||||
#include "../board/card_state.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue