Files
RobustToolbox/Robust.Shared/GameObjects/Systems/TimerSystem.cs
T

18 lines
425 B
C#

using Robust.Shared.GameObjects.Components.Timers;
namespace Robust.Shared.GameObjects.Systems
{
public class TimerSystem : EntitySystem
{
public override void Update(float frameTime)
{
base.Update(frameTime);
foreach (var timer in ComponentManager.EntityQuery<TimerComponent>(false))
{
timer.Update(frameTime);
}
}
}
}