Files
RobustToolbox/Robust.Client/GameObjects/EntitySystems/AnimationPlayerSystem.cs
T
2020-08-16 14:04:15 +02:00

17 lines
517 B
C#

using Robust.Client.GameObjects.Components.Animations;
using Robust.Shared.GameObjects.Systems;
namespace Robust.Client.GameObjects.EntitySystems
{
internal sealed class AnimationPlayerSystem : EntitySystem
{
public override void FrameUpdate(float frameTime)
{
foreach (var animationPlayerComponent in EntityManager.ComponentManager.EntityQuery<AnimationPlayerComponent>())
{
animationPlayerComponent.Update(frameTime);
}
}
}
}