Engine-Pong/Game/Network/Abstract/INetworkBehaviour.cs

19 lines
380 B
C#
Raw Normal View History

2024-02-08 17:59:04 +03:00
using Syntriax.Engine.Core.Abstract;
namespace Syntriax.Engine.Network.Abstract;
2024-02-08 17:59:04 +03:00
public interface INetworkBehaviour : IBehaviour
{
int NetworkId { get; }
bool LocalAssigned { get; }
bool IsServer { get; }
bool IsClient { get; }
INetworkCommunicator NetworkCommunicator { get; }
2024-02-12 16:35:24 +03:00
public void RequestAssignment();
public void ReleaseAssignment();
2024-02-08 17:59:04 +03:00
}