mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 18:47:10 +02:00
18 lines
425 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|