Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "goochelaar.h"
- Goochelaar::Goochelaar(string n,HogeHoed *hp):voornaam(n),hoed(hp){
- };
- string Goochelaar::naam(){
- return voornaam;
- }
- void Goochelaar::raakHoedKwijt()
- {
- hoed=NULL;
- }
- string Goochelaar::HaalUitHoed(){
- return hoed->geefWillekeurigObject();
- }
- void Goochelaar::andereHoed(HogeHoed*h)
- {
- hoed=h;
- }
Add Comment
Please, Sign In to add comment