2021-06-09 22:19:39 +02:00
|
|
|
using Content.Server.Power.Components;
|
2019-11-22 09:48:56 +11:00
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2019-11-22 09:48:56 +11:00
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
namespace Content.Server.Power.EntitySystems
|
2019-11-22 09:48:56 +11:00
|
|
|
{
|
|
|
|
|
[UsedImplicitly]
|
2020-08-13 22:17:12 +10:00
|
|
|
internal sealed class BaseChargerSystem : EntitySystem
|
2019-11-22 09:48:56 +11:00
|
|
|
{
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
2021-02-04 00:20:48 +11:00
|
|
|
foreach (var comp in ComponentManager.EntityQuery<BaseCharger>(true))
|
2019-11-22 09:48:56 +11:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
comp.OnUpdate(frameTime);
|
2019-11-22 09:48:56 +11:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|