* Convert StomachBehavior to a component/system + rejig body namespaces * test * slightly more namespace changes * remove * Hello????? * fuck you github test runner * reviews * oobsy!
21 lines
507 B
C#
21 lines
507 B
C#
using Content.Shared.Body.Components;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Shared.Body.Systems
|
|
{
|
|
[UsedImplicitly]
|
|
public class MechanismSystem : EntitySystem
|
|
{
|
|
public override void Update(float frameTime)
|
|
{
|
|
base.Update(frameTime);
|
|
|
|
foreach (var mechanism in EntityManager.EntityQuery<SharedMechanismComponent>(true))
|
|
{
|
|
mechanism.Update(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|