2018-11-11 20:05:09 +01:00
|
|
|
using Content.Server.GameObjects.Components.Interactable;
|
2020-08-13 22:17:12 +10:00
|
|
|
using JetBrains.Annotations;
|
2019-04-15 21:11:38 -06:00
|
|
|
using Robust.Shared.GameObjects.Systems;
|
2018-11-11 20:05:09 +01:00
|
|
|
|
2020-08-13 14:40:27 +02:00
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
2018-11-11 20:05:09 +01:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
[UsedImplicitly]
|
|
|
|
|
internal sealed class HandHeldLightSystem : EntitySystem
|
2018-11-11 20:05:09 +01:00
|
|
|
{
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
foreach (var comp in ComponentManager.EntityQuery<HandheldLightComponent>())
|
2018-11-11 20:05:09 +01:00
|
|
|
{
|
|
|
|
|
comp.OnUpdate(frameTime);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|