delta time

This commit is contained in:
Vinzenz Schroeter 2024-04-16 19:40:08 +02:00
parent dec571d8c1
commit e16d4b1c1f
11 changed files with 29 additions and 28 deletions

View file

@ -14,7 +14,7 @@ internal sealed class GeneratePixelsTickStep(
private readonly PixelGrid _observerPixelGrid = new(MapService.PixelsPerRow, MapService.PixelsPerColumn);
private readonly GamePixelGrid _gamePixelGrid = new(MapService.PixelsPerRow, MapService.PixelsPerColumn);
public async Task TickAsync()
public async Task TickAsync(TimeSpan _)
{
_gamePixelGrid.Clear();
foreach (var step in _drawSteps)