Files
OldThink/Content.Server/GameObjects/EntitySystems/StunSystem.cs

21 lines
534 B
C#
Raw Normal View History

2020-05-13 19:04:50 +02:00
using Content.Server.GameObjects.Components.Mobs;
using JetBrains.Annotations;
2020-05-13 19:04:50 +02:00
using Robust.Shared.GameObjects.Systems;
namespace Content.Server.GameObjects.EntitySystems
2020-05-13 19:04:50 +02:00
{
[UsedImplicitly]
internal sealed class StunSystem : EntitySystem
2020-05-13 19:04:50 +02:00
{
public override void Update(float frameTime)
{
base.Update(frameTime);
foreach (var component in ComponentManager.EntityQuery<StunnableComponent>())
2020-05-13 19:04:50 +02:00
{
component.Update(frameTime);
2020-05-13 19:04:50 +02:00
}
}
}
}