Files
tbd-station-14/Content.Shared/Shuttles/SharedShuttleComponent.cs
metalgearsloth b888b1fd9c Enable shuttle rotation (#4798)
* Enable shuttle rotation

* Tweaks
2021-10-09 01:55:10 +02:00

29 lines
695 B
C#

using Robust.Shared.GameObjects;
using Robust.Shared.ViewVariables;
namespace Content.Shared.Shuttles
{
public abstract class SharedShuttleComponent : Component
{
public override string Name => "Shuttle";
[ViewVariables]
public virtual bool Enabled { get; set; } = true;
/// <summary>
/// How much our linear impulse is multiplied by.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
public float SpeedMultipler { get; set; } = 200.0f;
[ViewVariables]
public ShuttleMode Mode { get; set; } = ShuttleMode.Cruise;
}
public enum ShuttleMode : byte
{
Docking,
Cruise,
}
}