Skip to content

Instantly share code, notes, and snippets.

@joseywoermann
Last active January 23, 2022 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joseywoermann/3bc7467b70e5a6c25cf6118ff688a2b1 to your computer and use it in GitHub Desktop.
Save joseywoermann/3bc7467b70e5a6c25cf6118ff688a2b1 to your computer and use it in GitHub Desktop.
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