2020-08-13 14:40:27 +02:00
|
|
|
|
using Content.Server.GameObjects.Components.Power.ApcNetComponents.PowerReceiverUsers;
|
2019-11-22 09:48:56 +11:00
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
|
|
|
2020-08-13 14:40:27 +02:00
|
|
|
|
namespace Content.Server.GameObjects.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)
|
|
|
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
|
foreach (var comp in ComponentManager.EntityQuery<BaseCharger>())
|
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
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|