using System.ComponentModel;
using LuckerGame.Entities;
using Sandbox;
namespace LuckerGame.Minigames.FpsTest;
///
/// Component attached to a Lucker that will allow us to use [ClientInput] in the actual minigame's Pawn.
///
/// <
///
/// This is because [ClientInput] only works for the Pawn owned by the Client (Lucker), and the Lucker's components.
/// We create this component in the Minigame's Pawn, attach it to the Lucker, and use these properties from there.
///
public class PawnPropertyProxyComponent : EntityComponent
{
[ClientInput]
public Vector3 InputDirection { get; set; }
[ClientInput]
public Angles ViewAngles { get; set; }
}