struc -> class (character, inventory, item)