I have a simple timer class that counts up (from code that I found on the forums and then modified) and am wondering how I can get it to stop at a certain time. So far I tried Greenfoot.stop(); but the entire game stops as opposed to just the timer. Additionally, if you had any advice on how to add seconds onto a timer (for example, if my game had a feature where when you found an object, five seconds would be added to the timer) that would be appreciated. Thanks! (High School CompSci Student)

