Files
RobustToolbox/Robust.Client/GameObjects/EntitySystems/AnimationPlayerSystem.cs
metalgearsloth a274b8dfc2 EntityQuery no longer yields paused by default (#1521)
* Change EntityQuery to not get paused by default

* GetAllComponents

* Fix shell commands

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
2021-02-04 00:20:31 +11:00

17 lines
521 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>(true))
{
animationPlayerComponent.Update(frameTime);
}
}
}
}