Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Boss.h"
- #include "Underboss.h"
- class Gang{
- private:
- Boss *ptrBoss = nullptr;
- int sizeBoss;
- int sizeProperty;
- int sizeUndeboss;
- Underboss * ptrUnderboss=nullptr;
- class Property {
- private:
- string city;
- string street;
- int valueProperty;
- public:
- Property();
- ~Property();
- void initProperty();
- void show()const;
- };
- class Money{
- private:
- int ammountMoney;
- public:
- Money();
- ~Money();
- void show()const;
- void initMoney();
- };
- Property * ptrProperty = nullptr;
- Money money;
- public:
- Gang();
- ~Gang();
- void initGang();
- //void addBoss(int where);
- void show()const;
- void removeUnderboss(int where);
- int getSizeBoss()const;
- Boss * getPtrBoss()const;
- void killBoss();
- Gang & operator=(const Gang & g);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement