mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 22:53:55 -07:00
removed thread
This commit is contained in:
parent
8680bce5fc
commit
16cc20a603
10 changed files with 25 additions and 95 deletions
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef SERVERGAME_H
|
||||
#define SERVERGAME_H
|
||||
|
||||
#include <QThread>
|
||||
#include <QMutex>
|
||||
#include <QStringList>
|
||||
|
||||
class ServerSocket;
|
||||
|
|
@ -34,10 +32,11 @@ private:
|
|||
bool gameStarted;
|
||||
int activePlayer;
|
||||
int activePhase;
|
||||
signals:
|
||||
void gameClosing();
|
||||
public slots:
|
||||
void broadcastEvent(const QString &event, ServerSocket *player);
|
||||
public:
|
||||
QMutex *mutex;
|
||||
Random *rnd;
|
||||
ServerSocket *creator;
|
||||
int gameId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue