I'm not sure if methods is the correct term, but I need some help with the following code:
I have written a code with 4 buttons, where the idea is you have to press the right button to get to go to the next screen.
My problem is that the second screen looks exactly like the first screen and the draw() function just jumps straight to the code for the second screen even though the button on screen one was never pressed.
Therefore, I would like to know two things:
How do I keep Processing from jumping from screen 1 to 2 before the intended button has been pushed?
How do I "freeze" the screen when the right button is pushed, so that you are able to know if you have continued to the next screen, since the first and second screen are identical.