2022-02-10 16:27:34 +13:00
|
|
|
using Content.Shared.Pointing.Components;
|
2024-02-03 03:09:20 -05:00
|
|
|
using System.Numerics;
|
2020-07-24 14:51:18 +02:00
|
|
|
|
2023-01-17 18:01:53 -04:00
|
|
|
namespace Content.Client.Pointing.Components;
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PointingArrowComponent : SharedPointingArrowComponent
|
2020-07-24 14:51:18 +02:00
|
|
|
{
|
2023-01-17 18:01:53 -04:00
|
|
|
/// <summary>
|
2024-02-03 03:09:20 -05:00
|
|
|
/// How far the arrow moves up and down during the floating phase.
|
2023-01-17 18:01:53 -04:00
|
|
|
/// </summary>
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("offset")]
|
2023-08-22 18:14:33 -07:00
|
|
|
public Vector2 Offset = new(0, 0.25f);
|
2023-01-17 18:01:53 -04:00
|
|
|
|
|
|
|
|
public readonly string AnimationKey = "pointingarrow";
|
2020-07-24 14:51:18 +02:00
|
|
|
}
|