public static void FeedPet(Pet pet) { int food = pet.GetFood(); pet.SetFood(food + 10); }
public static void RestPet(Pet pet) { int rest = pet.GetRest(); pet.SetRest(rest + 10); }
public static void AttentionPet(Pet pet) { int attention = pet.GetAttention(); pet.SetAttention(attention + 10); }