mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
19 lines
476 B
C#
19 lines
476 B
C#
using JetBrains.Annotations;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Client.Camera
|
|
{
|
|
[UsedImplicitly]
|
|
public sealed class CameraRecoilSystem : EntitySystem
|
|
{
|
|
public override void FrameUpdate(float frameTime)
|
|
{
|
|
base.FrameUpdate(frameTime);
|
|
|
|
foreach (var recoil in EntityManager.EntityQuery<CameraRecoilComponent>(true))
|
|
{
|
|
recoil.FrameUpdate(frameTime);
|
|
}
|
|
}
|
|
}
|
|
}
|