Files
tbd-station-14/Content.Client/Eye/LerpingEyeComponent.cs
2022-09-21 20:40:24 +10:00

20 lines
566 B
C#

namespace Content.Client.Eye;
/// <summary>
/// Component for keeping track of client-side eye lerping. This component should only be added or removed via the <see cref="EyeLerpingSystem"/>.
/// </summary>
[RegisterComponent]
public sealed class LerpingEyeComponent : Component
{
/// <summary>
/// False if this eye was automatically added when a player was attached to this entity.
/// </summary>
public bool ManuallyAdded = false;
[ViewVariables]
public Angle LastRotation;
[ViewVariables]
public Angle TargetRotation;
}