Files
tbd-station-14/Content.Server/Shuttles/Components/DockingComponent.cs
2021-11-21 17:09:49 +11:00

22 lines
549 B
C#

using Content.Shared.Shuttles;
using Content.Shared.Shuttles.Components;
using Robust.Shared.GameObjects;
using Robust.Shared.Physics.Dynamics.Joints;
using Robust.Shared.ViewVariables;
namespace Content.Server.Shuttles.Components
{
[RegisterComponent]
public sealed class DockingComponent : SharedDockingComponent
{
[ViewVariables]
public DockingComponent? DockedWith;
[ViewVariables]
public Joint? DockJoint;
[ViewVariables]
public override bool Docked => DockedWith != null;
}
}