Last active
January 23, 2022 21:10
-
-
Save joseywoermann/3bc7467b70e5a6c25cf6118ff688a2b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Util { | |
/** | |
* Pauses the program | |
* @param pSeconds How long should the program be paused? | |
*/ | |
public static void wait(int pSeconds) { | |
try { | |
Thread.sleep(pSeconds * 1000); | |
} catch (InterruptedException ex) { | |
Thread.currentThread().interrupt(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment