pull/7/head
Alexis Drai 2 years ago
parent 44d4d9b454
commit 44715bb6ed

@ -12,9 +12,6 @@ void Kenny::parler(const string &message) const
cout << "MMmmmhhmmmm" << endl;
}
Kenny::Kenny() : Kenny("Kenny", "huh?")
{}
Kenny::Kenny(const std::string &name,
const std::string &pv)
: Personnage(name, pv)

@ -13,10 +13,8 @@ class Kenny : public Personnage
public:
void parler(const std::string &message) const override;
Kenny();
Kenny(const std::string &name,
const std::string &pv);
explicit Kenny(const std::string &name = "Kenny",
const std::string &pv = "huh?");
};

@ -11,10 +11,6 @@ void Personnage::parler(const string &message) const
cout << message << endl;
}
Personnage::Personnage()
: Personnage("FNU", "wat")
{}
Personnage::Personnage(const std::string &name,
const std::string &pv)
: m_name(name), m_pv(pv)

@ -17,10 +17,8 @@ public:
const std::string &name() const;
Personnage();
Personnage(const std::string &name,
const std::string &pv);
explicit Personnage(const std::string &name = "FNU",
const std::string &pv = "wat");
};

Loading…
Cancel
Save