Пример #1
0
        /// <summary>
        /// Creates a new network session for users to join.
        /// </summary>
        /// <param name="username">The username the user wants.</param>
        /// <paramm name="port">Port to host the server on</param>
        // TODO: Take in parameters from user
        private void CreateNewLobbySession(string username, int port)
        {
            SessionHost host = new SessionHost(username, port);
            host.CreateNewSession();

        }