Files
OldThink/Content.Client/Camera/CameraRecoilSystem.cs

20 lines
476 B
C#
Raw Normal View History

using JetBrains.Annotations;
using Robust.Shared.GameObjects;
2019-03-23 15:04:14 +01:00
2021-06-09 22:19:39 +02:00
namespace Content.Client.Camera
2019-03-23 15:04:14 +01:00
{
[UsedImplicitly]
2019-03-23 15:04:14 +01:00
public sealed class CameraRecoilSystem : EntitySystem
{
public override void FrameUpdate(float frameTime)
{
base.FrameUpdate(frameTime);
foreach (var recoil in EntityManager.EntityQuery<CameraRecoilComponent>(true))
2019-03-23 15:04:14 +01:00
{
recoil.FrameUpdate(frameTime);
}
}
}
}