Re-organize all projects (#4166)
This commit is contained in:
20
Content.Shared/Body/Mechanism/MechanismSystem.cs
Normal file
20
Content.Shared/Body/Mechanism/MechanismSystem.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
#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<IMechanism>(true))
|
||||
{
|
||||
mechanism.Update(frameTime);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user