Guest User

Untitled

a guest
Jan 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include "goochelaar.h"
  2.  
  3.  
  4. Goochelaar::Goochelaar(string n,HogeHoed *hp):voornaam(n),hoed(hp){
  5.  
  6. };
  7.  
  8.  
  9. string Goochelaar::naam(){
  10. return voornaam;
  11. }
  12.  
  13.  
  14. void Goochelaar::raakHoedKwijt()
  15. {
  16. hoed=NULL;
  17. }
  18.  
  19. string Goochelaar::HaalUitHoed(){
  20. return hoed->geefWillekeurigObject();
  21. }
  22.  
  23. void Goochelaar::andereHoed(HogeHoed*h)
  24. {
  25. hoed=h;
  26.  
  27. }
Add Comment
Please, Sign In to add comment