Engine-Pong/Game/Network/NetworkClient.cs

11 lines
264 B
C#
Raw Normal View History

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)
{
Manager.Start();
Manager.Connect(address, port, password ?? string.Empty);
}
2024-02-01 23:38:35 +03:00
}