modifica class Tamagotchi