mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-25 20:34:18 -08:00
server has to assign free table space for a new card so that there is no race condition
This commit is contained in:
@@ -47,6 +47,7 @@ public:
|
||||
QString getName() const { return name; }
|
||||
Server_Player *getPlayer() const { return player; }
|
||||
|
||||
int getFreeGridColumn(int y) const;
|
||||
QList<Server_Card *> cards;
|
||||
void insertCard(Server_Card *card, int x, int y);
|
||||
void shuffle();
|
||||
|
||||
Reference in New Issue
Block a user