(int t)
| 2331 | /// |
| 2332 | /// - `t`: the time |
| 2333 | public static void sleep(int t) { |
| 2334 | try { |
| 2335 | Thread.sleep(t); |
| 2336 | } catch (InterruptedException e) { |
| 2337 | } |
| 2338 | } |
| 2339 | |
| 2340 | /// Shorthand method wait method that doesn't throw the stupid interrupted checked exception, it also |
| 2341 | /// includes the synchronized block to further reduce code clutter |