Hey guys,
I'm new to the forum and programming in general. Currently on week 9 of
Java lessons and i've been told to made a "game" for week 15, and i picked some sort of Quiz Up clone.
The thing is i'm not sure about one thing, for example i have a class called Question and another class called Time. So basically whenever the user picks a wrong answer, the question is passed and -5 seconds of the total time are substracted. If the user picks the correct answer then +5 seconds are added to the total time.
I have my question class with a method to check the answers and but i haven't done the time thing in the Time class because i don't know how to connect the choices made my the user in Question class to a method that adds and substract seconds in another class.