20 lines
501 B
C#
20 lines
501 B
C#
#nullable enable
|
|
using Content.Server.Power.Components;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Server.Battery.EntitySystems
|
|
{
|
|
[UsedImplicitly]
|
|
internal sealed class BatteryStorageSystem : EntitySystem
|
|
{
|
|
public override void Update(float frameTime)
|
|
{
|
|
foreach (var comp in ComponentManager.EntityQuery<BatteryStorageComponent>(false))
|
|
{
|
|
comp.Update(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|