1#ifndef SERVER_MATCH_GAME_FACTORY_H
2#define SERVER_MATCH_GAME_FACTORY_H
Definition server_abstractuserinterface.h:20
Definition server_game.h:52
Abstract factory for creating match games, forward-looking for tournament modes.
Definition server_match_game_factory.h:17
virtual Server_AbstractUserInterface * getUserInterface(const QString &playerName)=0
Resolve the user interface for playerName.
virtual ~Server_MatchGameFactory()=default
virtual void addGameToRoom(Server_Game *game)=0
Register game with the room that owns it.
virtual Server_Game * createMatchGame(const GameConfig &config, int &outGameId)=0
Create a match game from config, storing the assigned game id in outGameId.
Definition game_config.h:9