mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-15 03:31:30 +01:00
24 lines
533 B
C#
24 lines
533 B
C#
using Robust.Client.Graphics;
|
|
|
|
namespace Content.Client.Light.EntitySystems;
|
|
|
|
public sealed class PlanetLightSystem : EntitySystem
|
|
{
|
|
[Dependency] private readonly IOverlayManager _overlayMan = default!;
|
|
|
|
private RoofOverlay _overlay = default!;
|
|
|
|
public override void Initialize()
|
|
{
|
|
base.Initialize();
|
|
_overlay = new(EntityManager);
|
|
_overlayMan.AddOverlay(_overlay);
|
|
}
|
|
|
|
public override void Shutdown()
|
|
{
|
|
base.Shutdown();
|
|
_overlayMan.RemoveOverlay(_overlay);
|
|
}
|
|
}
|