formatting

This commit is contained in:
Vinzenz Schroeter 2024-04-13 14:08:51 +02:00
commit 1f0e6ba8fa

View file

@ -8,19 +8,19 @@ namespace TanksServer.Interactivity;
internal sealed class SendToServicePointDisplay : ITickStep
{
private readonly LastFinishedFrameProvider _lastFinishedFrameProvider;
private readonly Cp437Grid _scoresBuffer;
private readonly PlayerServer _players;
private readonly ILogger<SendToServicePointDisplay> _logger;
private readonly IDisplayConnection _displayConnection;
private PixelGrid? _lastSentFrame;
private DateTime _nextFailLog = DateTime.Now;
private const int ScoresWidth = 12;
private const int ScoresHeight = 20;
private const int ScoresPlayerRows = ScoresHeight - 5;
private readonly IDisplayConnection _displayConnection;
private readonly LastFinishedFrameProvider _lastFinishedFrameProvider;
private readonly ILogger<SendToServicePointDisplay> _logger;
private readonly PlayerServer _players;
private readonly Cp437Grid _scoresBuffer;
private PixelGrid? _lastSentFrame;
private DateTime _nextFailLog = DateTime.Now;
public SendToServicePointDisplay(
LastFinishedFrameProvider lastFinishedFrameProvider,
PlayerServer players,
@ -90,4 +90,4 @@ internal sealed class SendToServicePointDisplay : ITickStep
for (; row < 17; row++)
_scoresBuffer[row] = string.Empty;
}
}
}