mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
* Change EntityQuery to not get paused by default * GetAllComponents * Fix shell commands Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
17 lines
521 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|