send scores to big display
This commit is contained in:
parent
a89392beb8
commit
7f00160780
1 changed files with 305 additions and 126 deletions
|
|
@ -1,11 +1,12 @@
|
|||
using TanksServer.Helpers;
|
||||
using TanksServer.ServicePointDisplay;
|
||||
using TanksServer.Services;
|
||||
|
||||
namespace TanksServer.DrawSteps;
|
||||
|
||||
internal sealed class BulletDrawer(BulletManager bullets): IDrawStep
|
||||
{
|
||||
public void Draw(DisplayPixelBuffer buffer)
|
||||
public void Draw(PixelDisplayBufferView buffer)
|
||||
{
|
||||
foreach (var bullet in bullets.GetAll())
|
||||
buffer.Pixels[bullet.Position.ToPixelPosition().ToPixelIndex()] = true;
|
||||
|
|
|
|||
Reference in a new issue