2024-02-02 12:04:53 +03:00
|
|
|
namespace Pong.Network;
|
2024-02-01 23:38:35 +03:00
|
|
|
|
2024-02-02 12:42:59 +03:00
|
|
|
public class NetworkClient : NetworkBase, INetworkClient
|
2024-02-01 23:38:35 +03:00
|
|
|
{
|
|
|
|
public void Connect(string address, int port, string? password = null)
|
2024-02-02 12:27:34 +03:00
|
|
|
{
|
|
|
|
Manager.Start();
|
|
|
|
Manager.Connect(address, port, password ?? string.Empty);
|
|
|
|
}
|
2024-02-01 23:38:35 +03:00
|
|
|
}
|