using System.Numerics; using Content.Shared.Pointing.Components; namespace Content.Client.Pointing.Components; [RegisterComponent] public sealed class PointingArrowComponent : SharedPointingArrowComponent { /// /// How long it takes to go from the bottom of the animation to the top. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("animationTime")] public readonly float AnimationTime = 0.5f; /// /// How far it goes in any direction. /// [ViewVariables(VVAccess.ReadWrite)] [DataField("offset")] public readonly Vector2 Offset = new(0, 0.25f); public readonly string AnimationKey = "pointingarrow"; }