changed project structure
This commit is contained in:
16
src/de/javagames/Functions.java
Normal file
16
src/de/javagames/Functions.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package de.javagames;
|
||||
|
||||
public class Functions {
|
||||
|
||||
public static void wait(int seconds)
|
||||
{
|
||||
try
|
||||
{
|
||||
Thread.sleep(seconds * 1000);
|
||||
}
|
||||
catch(InterruptedException ex)
|
||||
{
|
||||
Thread.currentThread().interrupt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user