2020-05-28 15:28:35 -05:00
|
|
|
using Content.Server.GameObjects.Components.Kitchen;
|
2020-08-13 22:17:12 +10:00
|
|
|
using JetBrains.Annotations;
|
2020-05-28 15:28:35 -05:00
|
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
|
|
2020-07-06 14:27:03 -07:00
|
|
|
namespace Content.Server.Interfaces.GameObjects.Components.Interaction
|
2020-05-28 15:28:35 -05:00
|
|
|
{
|
2020-08-13 22:17:12 +10:00
|
|
|
[UsedImplicitly]
|
|
|
|
|
internal sealed class MicrowaveSystem : EntitySystem
|
2020-05-28 15:28:35 -05:00
|
|
|
{
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
{
|
|
|
|
|
base.Update(frameTime);
|
2020-08-13 22:17:12 +10:00
|
|
|
foreach (var comp in ComponentManager.EntityQuery<MicrowaveComponent>())
|
2020-05-28 15:28:35 -05:00
|
|
|
{
|
|
|
|
|
comp.OnUpdate();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|