Files
OldThink/Content.Server/GameObjects/EntitySystems/DoorSystem.cs

18 lines
455 B
C#
Raw Normal View History

using Content.Server.GameObjects.Components.Doors;
using Robust.Shared.GameObjects.Systems;
2020-07-29 15:49:44 -07:00
namespace Content.Server.GameObjects.EntitySystems
{
class DoorSystem : EntitySystem
{
2020-07-29 15:49:44 -07:00
/// <inheritdoc />
public override void Update(float frameTime)
{
2020-07-29 15:49:44 -07:00
foreach (var comp in ComponentManager.EntityQuery<ServerDoorComponent>())
{
comp.OnUpdate(frameTime);
}
}
}
}