Engine-Pong/Game/Network/NetworkClient.cs

13 lines
316 B
C#
Raw Normal View History

using Syntriax.Engine.Network.Abstract;
namespace Syntriax.Engine.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
}