/// <summary> /// Prepares this game to work as a server. /// </summary> public virtual void StartServer() { serverManager = new TinyNetServer(); serverManager.StartServer(port, maxNumberOfPlayers); }
/// <summary> /// Initializes a new instance of the <see cref="TinyNetServer"/> class. /// </summary> public TinyNetServer() : base() { instance = this; }