From 53e81bdc5c36a94f34e527cd22ea55b62382f8d2 Mon Sep 17 00:00:00 2001 From: PH03be Date: Mon, 28 Jun 2021 15:56:31 +1000 Subject: [PATCH] 7.0 --- classes.hpp | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/classes.hpp b/classes.hpp index b725b8b..2e5dfac 100644 --- a/classes.hpp +++ b/classes.hpp @@ -1,8 +1,7 @@ #include #pragma once -class User { - public: +struct User { int starterCredits = 900; int credits = starterCredits; @@ -12,8 +11,7 @@ class User { std::string difficultyLvl; }; -class Jobs { - public: +struct Jobs { std::string currentJobStatus; @@ -31,11 +29,10 @@ class Jobs { int chef = 200; // requires university degree in cooking int lecturer = 300; // requires university degree in talking - int waiter = 25; - int teacher = 50; // requires university degree in teaching + int waiter = 25; + int teacher = 50; // requires university degree in teaching - class University { - public: + struct University { int UniFee = 2000; @@ -50,8 +47,7 @@ class Jobs { }; }; -class shopItems { - public: +struct shopItems { std::string shopItem1 = "Quantum Computer"; std::string shopItem2 = "Teaching"; @@ -77,4 +73,3 @@ class shopItems { bool hasAnItem = false; }; -