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

12 lines
227 B
C#

using System;
namespace Syntriax.Engine.Network.Abstract;
internal interface INetworkEntity
{
Action<INetworkEntity, int> OnNetworkIdChanged { get; set; }
int NetworkId { get; set; }
void SetNetworkId(int id);
}