add magazine system (cannot reload currently)

This commit is contained in:
Vinzenz Schroeter 2024-04-29 16:39:37 +02:00
parent 4e605d556c
commit 9ccb7c8df8
8 changed files with 86 additions and 32 deletions

View file

@ -30,5 +30,5 @@ internal sealed class Tank(Player player, FloatPosition spawnPosition) : IMapEnt
public int Orientation => (int)Math.Round(Rotation * 16) % 16;
public byte ExplosiveBullets { get; set; }
public Magazine Magazine { get; set; } = new(MagazineType.Basic, 0, 5);
}