2021-07-17 02:37:09 +02:00
|
|
|
|
using Content.Shared.Disposal.Components;
|
2020-08-24 20:41:15 +02:00
|
|
|
|
using JetBrains.Annotations;
|
2021-02-11 01:13:03 -08:00
|
|
|
|
using Robust.Shared.GameObjects;
|
2020-08-24 20:41:15 +02:00
|
|
|
|
|
2021-06-09 22:19:39 +02:00
|
|
|
|
namespace Content.Shared.Disposal
|
2020-08-24 20:41:15 +02:00
|
|
|
|
{
|
|
|
|
|
|
[UsedImplicitly]
|
|
|
|
|
|
public sealed class SharedDisposalUnitSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
|
{
|
2021-02-04 00:20:48 +11:00
|
|
|
|
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalUnitComponent>(true))
|
2020-08-24 20:41:15 +02:00
|
|
|
|
{
|
|
|
|
|
|
comp.Update(frameTime);
|
|
|
|
|
|
}
|
2020-10-30 01:16:26 +01:00
|
|
|
|
|
2021-02-04 00:20:48 +11:00
|
|
|
|
foreach (var comp in ComponentManager.EntityQuery<SharedDisposalMailingUnitComponent>(true))
|
2020-10-30 01:16:26 +01:00
|
|
|
|
{
|
|
|
|
|
|
comp.Update(frameTime);
|
|
|
|
|
|
}
|
2020-08-24 20:41:15 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|