void CheckPlayerInventory(PlayerInventory inventory) { string message = "Pistol ammo : " + inventory.GetPistolAmmo().ToString() + "\n" + "Rifle ammo : " + inventory.GetRifleAmmo().ToString(); uiInventory.DisplayInventoryStatus(message); }