Backup added
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package v4.game;
|
||||
|
||||
public class Clock extends Thread {
|
||||
|
||||
public static boolean running = true;
|
||||
|
||||
public void run(){
|
||||
|
||||
while (running){
|
||||
try {
|
||||
sleep(50);
|
||||
v4.game.Control.nextGen();
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user