2020-08-24 20:41:15 +02:00
|
|
|
|
using Content.Shared.GameObjects.Components.Disposal;
|
|
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.GameObjects.EntitySystems
|
|
|
|
|
|
{
|
|
|
|
|
|
[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
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|