public Item GetInventoryItem(int slotNum) { if (slotNum >= _inventory.Count || slotNum < 0) return null; return _inventory[slotNum]; }