2020-08-19 18:13:22 -04:00
|
|
|
|
using Content.Server.GameObjects.Components.Movement;
|
|
|
|
|
|
using JetBrains.Annotations;
|
|
|
|
|
|
using Robust.Shared.GameObjects.Systems;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.GameObjects.EntitySystems
|
|
|
|
|
|
{
|
|
|
|
|
|
[UsedImplicitly]
|
|
|
|
|
|
internal sealed class ClimbSystem : EntitySystem
|
|
|
|
|
|
{
|
|
|
|
|
|
public override void Update(float frameTime)
|
|
|
|
|
|
{
|
2021-02-04 00:20:48 +11:00
|
|
|
|
foreach (var comp in ComponentManager.EntityQuery<ClimbingComponent>(true))
|
2020-08-19 18:13:22 -04:00
|
|
|
|
{
|
2020-10-12 02:12:46 +11:00
|
|
|
|
comp.Update();
|
2020-08-19 18:13:22 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|