2020-08-13 22:17:12 +10:00
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2018-07-26 14:26:19 -07:00
|
|
|
|
2021-07-04 18:11:52 +02:00
|
|
|
namespace Content.Server.Power.SMES
|
2018-07-26 14:26:19 -07:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
[UsedImplicitly]
|
2022-02-16 00:23:23 -07:00
|
|
|
internal sealed class PowerSmesSystem : EntitySystem
|
2018-07-26 14:26:19 -07:00
|
|
|
{
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
2021-09-28 13:35:29 +02:00
|
|
|
foreach (var comp in EntityManager.EntityQuery<SmesComponent>(true))
|
2018-07-26 14:26:19 -07:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
comp.OnUpdate();
|
2018-07-26 14:26:19 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|