mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
server-side part of client -> server commands almost converted to ProtocolBuffers. not usable yet
This commit is contained in:
parent
ca3a7e69a1
commit
4eb9dfc5bf
26 changed files with 1233 additions and 1436 deletions
|
|
@ -27,7 +27,7 @@
|
|||
class Server_Card;
|
||||
class Server_Player;
|
||||
class Server_Game;
|
||||
class CommandContainer;
|
||||
class BlaContainer;
|
||||
|
||||
class Server_CardZone {
|
||||
private:
|
||||
|
|
@ -53,8 +53,8 @@ public:
|
|||
int getFreeGridColumn(int x, int y, const QString &cardName) const;
|
||||
bool isColumnEmpty(int x, int y) const;
|
||||
bool isColumnStacked(int x, int y) const;
|
||||
void fixFreeSpaces(CommandContainer *cont);
|
||||
void moveCard(CommandContainer *cont, QMap<int, Server_Card *> &coordMap, Server_Card *card, int x, int y);
|
||||
void fixFreeSpaces(BlaContainer *bla);
|
||||
void moveCard(BlaContainer *bla, QMap<int, Server_Card *> &coordMap, Server_Card *card, int x, int y);
|
||||
QList<Server_Card *> cards;
|
||||
void insertCard(Server_Card *card, int x, int y);
|
||||
void shuffle();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue