2021-06-09 22:19:39 +02:00
|
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-10-14 22:32:06 +02:00
|
|
|
|
|
2021-11-11 16:10:57 -07:00
|
|
|
|
namespace Content.Server.Body.Components
|
2020-10-14 22:32:06 +02:00
|
|
|
|
{
|
|
|
|
|
|
[UsedImplicitly]
|
2021-07-31 04:50:32 -07:00
|
|
|
|
public class RespiratorSystem : EntitySystem
|
2020-10-14 22:32:06 +02:00
|
|
|
|
{
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
|
{
|
|
|
|
|
|
base.Update(frameTime);
|
|
|
|
|
|
|
2021-09-28 13:35:29 +02:00
|
|
|
|
foreach (var respirator in EntityManager.EntityQuery<RespiratorComponent>(false))
|
2020-10-14 22:32:06 +02:00
|
|
|
|
{
|
2021-07-31 04:50:32 -07:00
|
|
|
|
respirator.Update(frameTime);
|
2020-10-14 22:32:06 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|