mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
17 lines
517 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|