|
using Encompass;
|
|
|
|
namespace PongFE.Components
|
|
{
|
|
public enum PlayerIndex
|
|
{
|
|
One,
|
|
Two
|
|
}
|
|
|
|
public struct PlayerInputComponent : IComponent
|
|
{
|
|
public PlayerIndex PlayerIndex { get; }
|
|
|
|
public PlayerInputComponent(PlayerIndex playerIndex)
|
|
{
|
|
PlayerIndex = playerIndex;
|
|
}
|
|
}
|
|
}
|