Engine-Pong/Game/Network/NetworkClient.cs

11 lines
264 B
C#

namespace Pong.Network;
public class NetworkClient : NetworkBase, INetworkClient
{
public void Connect(string address, int port, string? password = null)
{
Manager.Start();
Manager.Connect(address, port, password ?? string.Empty);
}
}