separate tick steps

This commit is contained in:
Vinzenz Schroeter 2024-04-07 19:52:16 +02:00
commit a9aaf899a2

View file

@ -1,4 +1,5 @@
using Microsoft.Extensions.Hosting;
using TanksServer.TickSteps;
namespace TanksServer.Services;
@ -36,8 +37,3 @@ internal sealed class GameTickService(IEnumerable<ITickStep> steps) : IHostedSer
_run?.Dispose();
}
}
public interface ITickStep
{
Task TickAsync();
}