quantum-space-buddies/QSB/Utility/LinkedWorldObject/ILinkedWorldObject.cs

14 lines
371 B
C#
Raw Normal View History

2022-03-14 07:51:25 +00:00
using QSB.WorldSync;
2022-03-14 07:51:25 +00:00
namespace QSB.Utility.LinkedWorldObject;
/// <summary>
/// a world object that is linked to a network behaviour
/// </summary>
public interface ILinkedWorldObject<out TNetworkBehaviour> : IWorldObject
2022-03-14 07:51:25 +00:00
where TNetworkBehaviour : INetworkBehaviour
{
TNetworkBehaviour NetworkBehaviour { get; }
2022-03-14 07:51:25 +00:00
void LinkTo(INetworkBehaviour networkBehaviour);
}