Engine-Pong/Game/Network/INetworkCommunicator.cs

15 lines
254 B
C#

using System;
using LiteNetLib;
using Syntriax.Engine.Core.Abstract;
namespace Pong.Network;
public interface INetworkCommunicator
{
EventBasedNetListener Listener { get; }
NetManager Manager { get; }
void PollEvents();
void Stop();
}