Files
OldThink/Content.Server/GameObjects/EntitySystems/Power/BatterySystem.cs

20 lines
495 B
C#
Raw Normal View History

2021-02-02 05:20:24 -06:00
#nullable enable
using Content.Server.GameObjects.Components.Power;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Server.GameObjects.EntitySystems
{
[UsedImplicitly]
public class BatterySystem : EntitySystem
{
public override void Update(float frameTime)
{
foreach (var comp in ComponentManager.EntityQuery<BatteryComponent>(true))
{
comp.OnUpdate(frameTime);
}
}
}
}