GameServer constructor
GameServer(})
Implementation
GameServer(
IO.Server _io,
this.mainServer,
this._read,
this._gameId,
this._onGameOver, {
this.timeout = const Duration(hours: 2),
this.debug = true,
}) : _socket = _io.of('/$_gameId'),
_serverLogger = Logger('GameServer $_gameId') {
_initServer();
}