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