mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 12:03:55 -07:00
initial commit of local server code
This commit is contained in:
parent
cbfbc542e7
commit
7921b5f82d
35 changed files with 143 additions and 365 deletions
|
|
@ -5,7 +5,7 @@
|
|||
#include <QPushButton>
|
||||
#include "tab.h"
|
||||
|
||||
class Client;
|
||||
class AbstractClient;
|
||||
class CardDatabase;
|
||||
class GameView;
|
||||
class DeckView;
|
||||
|
|
@ -55,7 +55,7 @@ protected:
|
|||
class TabGame : public Tab {
|
||||
Q_OBJECT
|
||||
private:
|
||||
Client *client;
|
||||
AbstractClient *client;
|
||||
int gameId;
|
||||
QString gameDescription;
|
||||
int localPlayerId;
|
||||
|
|
@ -120,7 +120,7 @@ private slots:
|
|||
void actNextPhase();
|
||||
void actNextTurn();
|
||||
public:
|
||||
TabGame(Client *_client, int _gameId, const QString &_gameDescription, int _localPlayerId, bool _spectator, bool _spectatorsCanTalk, bool _spectatorsSeeEverything, bool _resuming);
|
||||
TabGame(AbstractClient *_client, int _gameId, const QString &_gameDescription, int _localPlayerId, bool _spectator, bool _spectatorsCanTalk, bool _spectatorsSeeEverything, bool _resuming);
|
||||
~TabGame();
|
||||
void retranslateUi();
|
||||
const QMap<int, Player *> &getPlayers() const { return players; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue