czlowiekzgon

underbos h

Nov 28th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #pragma once
  2. #include <string>
  3. #include <iostream>
  4. #include "Dealer.h"
  5. #include "Assassin.h"
  6. using namespace std;
  7.  
  8.  
  9. class Underboss{
  10. private:
  11. string nameUnderboss;
  12. int ageUnderboss;
  13. int sizeAssassin;
  14. int sizeDealer;
  15. Assassin *ptrAssassin = nullptr;
  16. Dealer *ptrDealer = nullptr;
  17.  
  18.  
  19. public:
  20. Underboss();
  21. ~Underboss();
  22. void initUnderboss();
  23. void show()const;
  24.  
  25. string getNameUnderboss()const;
  26. int getAgeUnderboss()const;
  27. int getSizeAssassin()const;
  28. int getSizeDealer()const;
  29. Assassin * getPtrAssassin()const;
  30. Dealer * getPtrDealer()const;
  31.  
  32.  
  33. Underboss & operator=(const Underboss & u);
  34.  
  35. };
Add Comment
Please, Sign In to add comment