* Add FTL arrival visuals * weh * Update Content.Shared/Shuttles/Components/FTLComponent.cs Co-authored-by: Tayrtahn <tayrtahn@gmail.com> --------- Co-authored-by: Tayrtahn <tayrtahn@gmail.com>
24 lines
623 B
C#
24 lines
623 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Shared.Shuttles.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class FtlVisualizerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Clientside time tracker for the animation.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
public float Elapsed;
|
|
|
|
[DataField(required: true)]
|
|
public SpriteSpecifier.Rsi Sprite;
|
|
|
|
/// <summary>
|
|
/// Target grid to pull FTL visualization from.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid Grid;
|
|
}
|