2020-09-03 16:02:40 -04:00
|
|
|
|
|
|
|
|
|
|
using Content.Server.GameObjects.Components.Interactable;
|
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
|
|
|
|
|
|
{
|
|
|
|
|
|
public class ExpendableLightSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
|
{
|
|
|
|
|
|
foreach (var light in ComponentManager.EntityQuery<ExpendableLightComponent>())
|
|
|
|
|
|
{
|
|
|
|
|
|
light.Update(frameTime);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|