Anonymous
public cpp v1 · immutablePet::Pet(std::string name, int hunger, int boredom) { m_hunger = hunger; m_boredom = boredom; m_name = name;}Pet::Pet(std::string name, int hunger, int boredom) { m_hunger = hunger; m_boredom = boredom; m_name = name;}