Files
tbd-station-14/Content.Shared/Body/Mechanism/MechanismSystem.cs
DrSmugleaf 69969bbdc6 Remove IBody, IBodyPart, IMechanism and IMechanismBehavior (#4187)
* Remove IBody, IBodyPart, IMechanism and IMechanismBehavior interfaces

* Summary cleanup
2021-06-17 00:44:38 +10:00

21 lines
491 B
C#

#nullable enable
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
namespace Content.Shared.Body.Mechanism
{
[UsedImplicitly]
public class MechanismSystem : EntitySystem
{
public override void Update(float frameTime)
{
base.Update(frameTime);
foreach (var mechanism in ComponentManager.EntityQuery<SharedMechanismComponent>(true))
{
mechanism.Update(frameTime);
}
}
}
}