add fast bullet icon
This commit is contained in:
parent
72e90c7630
commit
fe851ffc17
|
@ -8,6 +8,7 @@ internal sealed class DrawPowerUpsStep(MapEntityManager entityManager) : IDrawSt
|
|||
private readonly Sprite _smartSprite = Sprite.FromImageFile("assets/powerup_smart.png");
|
||||
private readonly Sprite _magazineSprite = Sprite.FromImageFile("assets/powerup_magazine.png");
|
||||
private readonly Sprite _explosiveSprite = Sprite.FromImageFile("assets/powerup_explosive.png");
|
||||
private readonly Sprite _fastSprite = Sprite.FromImageFile("assets/powerup_fastbullet.png");
|
||||
|
||||
public void Draw(GamePixelGrid pixels)
|
||||
{
|
||||
|
@ -18,6 +19,7 @@ internal sealed class DrawPowerUpsStep(MapEntityManager entityManager) : IDrawSt
|
|||
{ Type: PowerUpType.MagazineSize } => _magazineSprite,
|
||||
{ Type: PowerUpType.MagazineType, MagazineType: MagazineType.Smart } => _smartSprite,
|
||||
{ Type: PowerUpType.MagazineType, MagazineType: MagazineType.Explosive } => _explosiveSprite,
|
||||
{ Type: PowerUpType.MagazineType, MagazineType: MagazineType.Fast } => _fastSprite,
|
||||
_ => _genericSprite
|
||||
};
|
||||
|
||||
|
|
BIN
tanks-backend/TanksServer/assets/powerup_fastbullet.png
Normal file
BIN
tanks-backend/TanksServer/assets/powerup_fastbullet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 B |
Loading…
Reference in a new issue