2020-12-08 11:56:10 +01:00
|
|
|
|
using Content.Server.GameObjects.Components.Interactable;
|
|
|
|
|
|
using JetBrains.Annotations;
|
2020-09-13 14:23:52 +02:00
|
|
|
|
using Robust.Shared.GameObjects.Systems;
|
2020-09-03 16:02:40 -04:00
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
|
|
|
|
|
{
|
2020-12-08 11:56:10 +01:00
|
|
|
|
[UsedImplicitly]
|
2020-09-03 16:02:40 -04:00
|
|
|
|
public class ExpendableLightSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
|
{
|
2021-02-04 00:20:48 +11:00
|
|
|
|
foreach (var light in ComponentManager.EntityQuery<ExpendableLightComponent>(true))
|
2020-09-03 16:02:40 -04:00
|
|
|
|
{
|
|
|
|
|
|
light.Update(frameTime);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|