mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-02 19:43:55 -07:00
table grid improvement, unfinished
This commit is contained in:
parent
914261df11
commit
0d774b5d48
16 changed files with 231 additions and 289 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include "playerlist.h"
|
||||
|
||||
class ServerPlayer;
|
||||
class QGraphicsScene;
|
||||
class GameScene;
|
||||
class Player;
|
||||
class Client;
|
||||
class ServerEventData;
|
||||
|
|
@ -29,12 +29,12 @@ private:
|
|||
|
||||
CardDatabase *db;
|
||||
Client *client;
|
||||
QGraphicsScene *scene;
|
||||
GameScene *scene;
|
||||
PlayerList players;
|
||||
Player *localPlayer;
|
||||
bool started;
|
||||
int currentPhase;
|
||||
Player *addPlayer(int playerId, const QString &playerName, QPointF base, bool local);
|
||||
Player *addPlayer(int playerId, const QString &playerName, bool local);
|
||||
void initSayMenu();
|
||||
public slots:
|
||||
void actNextPhase();
|
||||
|
|
@ -93,7 +93,7 @@ signals:
|
|||
void logSetActivePlayer(Player *player);
|
||||
void setActivePhase(int phase);
|
||||
public:
|
||||
Game(CardDatabase *_db, Client *_client, QGraphicsScene *_scene, QMenu *_actionsMenu, QMenu *_cardMenu, int playerId, const QString &playerName, QObject *parent = 0);
|
||||
Game(CardDatabase *_db, Client *_client, GameScene *_scene, QMenu *_actionsMenu, QMenu *_cardMenu, int playerId, const QString &playerName, QObject *parent = 0);
|
||||
~Game();
|
||||
Player *getLocalPlayer() const { return localPlayer; }
|
||||
void retranslateUi();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue