mstoyanov7

Playstation.h

Sep 12th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #pragma once
  2. #include "Store.h"
  3. #include "Console.h"
  4. class PlayStation : public Console {
  5. public:
  6. PlayStation(int& price, int& quality, int& generation) : Console(price, quality), _generation(0) {
  7.  
  8. }
  9.  
  10. int getGen() {
  11. return _generation;
  12. }
  13.  
  14. private:
  15. int _generation = 0;
  16. };
Advertisement
Add Comment
Please, Sign In to add comment