split out spectator to new file

This commit is contained in:
ebbit1q 2025-09-20 11:58:08 +02:00
parent a351b969b6
commit 29bc16a727
4 changed files with 28 additions and 21 deletions

View file

@ -0,0 +1,11 @@
#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;
}