Add FTL arrival visuals (#29402)
* 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>
This commit is contained in:
21
Content.Client/Shuttles/Systems/ShuttleSystem.cs
Normal file
21
Content.Client/Shuttles/Systems/ShuttleSystem.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using Robust.Client.Graphics;
|
||||
|
||||
namespace Content.Client.Shuttles.Systems;
|
||||
|
||||
public sealed partial class ShuttleSystem
|
||||
{
|
||||
[Dependency] private readonly IOverlayManager _overlays = default!;
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
base.Initialize();
|
||||
InitializeEmergency();
|
||||
_overlays.AddOverlay(new FtlArrivalOverlay());
|
||||
}
|
||||
|
||||
public override void Shutdown()
|
||||
{
|
||||
base.Shutdown();
|
||||
_overlays.RemoveOverlay<FtlArrivalOverlay>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user