mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
Turn things in common into separate libs.
Took 2 hours 27 minutes
This commit is contained in:
parent
53d80efab8
commit
01378b8314
389 changed files with 336 additions and 233 deletions
11
libs/server/src/game/server_spectator.cpp
Normal file
11
libs/server/src/game/server_spectator.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "../../include/game/server_spectator.h"
|
||||
|
||||
Server_Spectator::Server_Spectator(Server_Game *_game,
|
||||
int _playerId,
|
||||
const ServerInfo_User &_userInfo,
|
||||
bool _judge,
|
||||
Server_AbstractUserInterface *_userInterface)
|
||||
: Server_AbstractParticipant(_game, _playerId, _userInfo, _judge, _userInterface)
|
||||
{
|
||||
spectator = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue