2019-09-18 20:24:55 +02:00
|
|
|
using Content.Server.GameObjects.Components.Medical;
|
2020-08-13 22:17:12 +10:00
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
using Robust.Shared.GameObjects;
|
2019-09-18 20:24:55 +02:00
|
|
|
|
2020-08-13 14:40:27 +02:00
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
2019-09-18 20:24:55 +02:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
[UsedImplicitly]
|
|
|
|
|
internal sealed class MedicalScannerSystem : EntitySystem
|
2019-09-18 20:24:55 +02:00
|
|
|
{
|
2020-08-19 10:23:20 -04:00
|
|
|
|
2019-09-18 20:24:55 +02:00
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
2021-02-04 00:20:48 +11:00
|
|
|
foreach (var comp in ComponentManager.EntityQuery<MedicalScannerComponent>(true))
|
2019-09-18 20:24:55 +02:00
|
|
|
{
|
|
|
|
|
comp.Update(frameTime);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|