How would one automatically restart a timer without the simulation having to be run again? Like the displayed timer would reach 0 and then start again from its starting point
How would one automatically restart a timer without the simulation having to be run again? Like the displayed timer would reach 0 and then start again from its starting point
Just remove the old timer from the world and replace it with a new one (also, replacing the field reference your World object has to that new Timer object)
okay, but in the world how do I get if the timer is over or not, all of that is in my Timer class and Idk if/how I can access that information
If the timer removes itself from the world, then the world would only need to check that a timer is not in it; or, that the gif that it runs has been added, ran and removed.