mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-29 06:05:30 -08:00
* move common server files * update includes with move * create participant, move code * fix linker errors * fix regressions * mark function as override to make clang happy * split out spectator to new file * forgot to add to cmakelists * autocompleter picking wrong casing for var name * clean up forwards declarations in player * fix includes in game
12 lines
446 B
C++
12 lines
446 B
C++
#include "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;
|
|
}
|