22 lines
570 B
C#
22 lines
570 B
C#
using Content.Shared.Pointing.Components;
|
|
using Robust.Client.GameObjects;
|
|
using Robust.Shared.GameObjects;
|
|
using DrawDepth = Content.Shared.DrawDepth.DrawDepth;
|
|
|
|
namespace Content.Client.Pointing.Components
|
|
{
|
|
[RegisterComponent]
|
|
public class PointingArrowComponent : SharedPointingArrowComponent
|
|
{
|
|
protected override void Startup()
|
|
{
|
|
base.Startup();
|
|
|
|
if (Owner.TryGetComponent(out SpriteComponent? sprite))
|
|
{
|
|
sprite.DrawDepth = (int) DrawDepth.Overlays;
|
|
}
|
|
}
|
|
}
|
|
}
|