21 lines
536 B
C#
21 lines
536 B
C#
#nullable enable
|
|
using Content.Shared.GameObjects.Components.Movement;
|
|
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Shared.GameObjects.EntitySystems
|
|
{
|
|
[UsedImplicitly]
|
|
public class SlipperySystem : EntitySystem
|
|
{
|
|
/// <inheritdoc />
|
|
public override void Update(float frameTime)
|
|
{
|
|
foreach (var slipperyComp in ComponentManager.EntityQuery<SlipperyComponent>(false))
|
|
{
|
|
slipperyComp.Update();
|
|
}
|
|
}
|
|
}
|
|
}
|