Thrusters (shuttle go nyoom) (#5352)
This commit is contained in:
21
Content.Server/Shuttles/Components/DockingComponent.cs
Normal file
21
Content.Server/Shuttles/Components/DockingComponent.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user