Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Cat final : public std::enable_shared_from_this<Cat> {
- public:
- const std::string name;
- const Breeds breed;
- Cat(std::string, Breeds, Stats);
- ~Cat() = default;
- void make_cat_sound();
- private:
- Stats stats;
- inline static auto home = Home::get_instance();
- bool in_home;
- std::thread thread;
- //inline static std::mutex catMutex;
- void being_a_cat();
- void staying_at_home();
- void walk();
- void go_outside();
- void go_to_home();
- };
Advertisement
Add Comment
Please, Sign In to add comment