how to set a timer java | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

how to set a timer java

Hi! Well i have this project that is basically a text based game, and i want to try to do a if you dont do [action] in 15 seconds, you lost! But im not sure how to code that, to give time to do an action.

22nd Mar 2020, 3:53 AM
Pame
Pame - avatar
1 Antwort
+ 1
It's a little Code... just Have a look in this... https://stackoverflow.com/questions/4044726/how-to-set-a-timer-in-java
22nd Mar 2020, 4:48 AM
šŸ¦‹FEATHERšŸ¦‹
šŸ¦‹FEATHERšŸ¦‹ - avatar