public void AddAmmo(AmmoType ammoType, int amount) { if (_ammo.ContainsKey(ammoType)) { _ammo[ammoType] += amount; } else { _ammo.Add(ammoType, amount); } }