using System.Numerics;
using Robust.Shared.GameStates;
using Robust.Shared.Utility;
namespace Content.Shared.Physics;
///
/// Just draws a generic line between this entity and the target.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class JointVisualsComponent : Component
{
///
/// The sprite to use for the line.
///
[DataField(required: true), AutoNetworkedField]
public SpriteSpecifier Sprite = default!;
///
/// The line is drawn between this target and the entity owning the component.
///
///
/// TODO: WeakEntityReference.
///
[DataField, AutoNetworkedField]
public EntityUid? Target;
///
/// Offset from Body A.
///
[DataField, AutoNetworkedField]
public Vector2 OffsetA;
///
/// Offset from Body B.
///
[DataField, AutoNetworkedField]
public Vector2 OffsetB;
}