public static void AttentionPet(Pet pet) { int attention = pet.GetAttention(); pet.SetAttention(attention + 10); }