Re-organize all projects (#4166)
This commit is contained in:
21
Content.Client/Pointing/Components/PointingArrowComponent.cs
Normal file
21
Content.Client/Pointing/Components/PointingArrowComponent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user