16 lines
293 B
C#
16 lines
293 B
C#
|
using Encompass;
|
||
|
using PongFE.Enums;
|
||
|
|
||
|
namespace PongFE.Components
|
||
|
{
|
||
|
public struct PlayerComponent : IComponent
|
||
|
{
|
||
|
public PlayerIndex PlayerIndex { get; }
|
||
|
|
||
|
public PlayerComponent(PlayerIndex playerIndex)
|
||
|
{
|
||
|
PlayerIndex = playerIndex;
|
||
|
}
|
||
|
}
|
||
|
}
|