* Remove IBody, IBodyPart, IMechanism and IMechanismBehavior interfaces * Summary cleanup
21 lines
491 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|