Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #include "Store.h"
- #include "Console.h"
- class PlayStation : public Console {
- public:
- PlayStation(int& price, int& quality, int& generation) : Console(price, quality), _generation(0) {
- }
- int getGen() {
- return _generation;
- }
- private:
- int _generation = 0;
- };
Advertisement
Add Comment
Please, Sign In to add comment