send scores to big display
This commit is contained in:
parent
a89392beb8
commit
7f00160780
1 changed files with 305 additions and 126 deletions
|
|
@ -1,12 +1,12 @@
|
|||
using TanksServer.Helpers;
|
||||
using TanksServer.ServicePointDisplay;
|
||||
|
||||
namespace TanksServer.Services;
|
||||
|
||||
internal sealed class LastFinishedFrameProvider
|
||||
{
|
||||
private DisplayPixelBuffer? _lastFrame;
|
||||
private PixelDisplayBufferView? _lastFrame;
|
||||
|
||||
public DisplayPixelBuffer LastFrame
|
||||
public PixelDisplayBufferView LastFrame
|
||||
{
|
||||
get => _lastFrame ?? throw new InvalidOperationException("first frame not yet drawn");
|
||||
set => _lastFrame = value;
|
||||
|
|
|
|||
Reference in a new issue