czlowiekzgon

boss h

Nov 28th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. #pragma once
  2. #include <iostream>
  3. #include <string>
  4. #include "Underboss.h"
  5. #include "Assassin.h"
  6. #include "Consigliere.h"
  7. using namespace std;
  8.  
  9. class Boss{
  10. private:
  11. string nameBoss;
  12. int ageBoss;
  13. int sizeAssassin;
  14. Assassin * ptrAssassin = nullptr;
  15. Consigliere * ptrConsigliere = nullptr;
  16. public:
  17. Boss();
  18. Boss(Underboss & u,Consigliere *ptr);
  19. ~Boss();
  20. void initBoss();
  21. void show();
  22. void dodaj(int where);
  23. Consigliere * getPtrConsigliere()const;
  24. Assassin * getPtrAssassin()const;
  25. int getSizeAssassin()const;
  26. int getAgeBoss()const;
  27. string getNameBoss()const;
  28. Boss & operator=(const Boss & b);
  29. };
Add Comment
Please, Sign In to add comment