(adsbygoogle = window.adsbygoogle || []).push({});
So I have decided to give you guys this final system. It turns out i didn't put else in front of the if's so it didnt't work. Here it is:
Menu.h:
You must login or register to view this content.
Menu.cpp:
You must login or register to view this content.
Main.cpp:
You must login or register to view this content.
BTW do you think I should put the event that check's if the shader is true into a function in the Menu Class? Like putting that whole code into a function called check shade and put the parameters and which child you would like to use? Or should i just make it where I have to check if the shader is true, if called for each individual child such as, mainmenu.child[0].GetShadeState(); and GetShadeState() returns whether the shade is true or false.