another data view
This commit is contained in:
parent
85ae3e302c
commit
91ab911f9c
1 changed files with 44 additions and 23 deletions
|
|
@ -8,6 +8,6 @@ internal sealed class BulletDrawer(BulletManager bullets): IDrawStep
|
|||
public void Draw(PixelDisplayBufferView buffer)
|
||||
{
|
||||
foreach (var bullet in bullets.GetAll())
|
||||
buffer.Pixels[bullet.Position.ToPixelPosition().ToPixelIndex()] = true;
|
||||
buffer.Pixels[bullet.Position.ToPixelPosition()] = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue