2022-09-17 00:37:15 +10:00
|
|
|
using Robust.Shared.GameStates;
|
2024-02-03 03:09:20 -05:00
|
|
|
using System.Numerics;
|
2022-09-17 00:37:15 +10:00
|
|
|
|
2022-02-10 16:27:34 +13:00
|
|
|
namespace Content.Shared.Pointing.Components;
|
2020-07-24 14:51:18 +02:00
|
|
|
|
2022-09-17 00:37:15 +10:00
|
|
|
[NetworkedComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public abstract partial class SharedPointingArrowComponent : Component
|
2020-07-24 14:51:18 +02:00
|
|
|
{
|
2024-02-03 03:09:20 -05:00
|
|
|
/// <summary>
|
|
|
|
|
/// The position of the sender when the point began.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField]
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
public Vector2 StartPosition;
|
|
|
|
|
|
2022-09-17 00:37:15 +10:00
|
|
|
/// <summary>
|
|
|
|
|
/// When the pointing arrow ends
|
|
|
|
|
/// </summary>
|
2024-02-03 03:09:20 -05:00
|
|
|
[DataField]
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
2022-09-17 00:37:15 +10:00
|
|
|
public TimeSpan EndTime;
|
2020-07-24 14:51:18 +02:00
|
|
|
}
|