mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Move to bottom of library in random order. (#3549)
* - Allow shuffling a subset of a zone - When moving cards to the bottom of library, shuffle them after - Process events in the correct order serverside * Zach fixes Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com> * Comments + additional guard
This commit is contained in:
parent
6e3fd30fcb
commit
d932581f4a
10 changed files with 160 additions and 109 deletions
|
|
@ -90,7 +90,7 @@ public:
|
|||
const ServerInfo_User &_userInfo,
|
||||
bool _spectator,
|
||||
Server_AbstractUserInterface *_handler);
|
||||
~Server_Player();
|
||||
~Server_Player() override;
|
||||
void prepareDestroy();
|
||||
Server_AbstractUserInterface *getUserInterface() const
|
||||
{
|
||||
|
|
@ -99,10 +99,6 @@ public:
|
|||
void setUserInterface(Server_AbstractUserInterface *_userInterface);
|
||||
void disconnectClient();
|
||||
|
||||
void setPlayerId(int _id)
|
||||
{
|
||||
playerId = _id;
|
||||
}
|
||||
bool getReadyStart() const
|
||||
{
|
||||
return readyStart;
|
||||
|
|
@ -127,10 +123,7 @@ public:
|
|||
{
|
||||
conceded = _conceded;
|
||||
}
|
||||
DeckList *getDeck() const
|
||||
{
|
||||
return deck;
|
||||
}
|
||||
|
||||
Server_Game *getGame() const
|
||||
{
|
||||
return game;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue