20 lines
470 B
C#
20 lines
470 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Shared.Stunnable
|
|
{
|
|
[UsedImplicitly]
|
|
internal sealed class StunSystem : EntitySystem
|
|
{
|
|
public override void Update(float frameTime)
|
|
{
|
|
base.Update(frameTime);
|
|
|
|
foreach (var component in ComponentManager.EntityQuery<SharedStunnableComponent>(true))
|
|
{
|
|
component.Update(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|