setLoopDelay done
This commit is contained in:
parent
be88fc0918
commit
66a1a537c5
|
|
@ -1,6 +1,7 @@
|
|||
package backend;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
||||
import windowInterface.MyInterface;
|
||||
|
||||
public class Simulator extends Thread {
|
||||
|
|
@ -28,7 +29,9 @@ public class Simulator extends Thread {
|
|||
private int[][] world;
|
||||
|
||||
//TODO : add missing attribute(s)
|
||||
|
||||
|
||||
|
||||
|
||||
public Simulator(MyInterface mjfParam) {
|
||||
mjf = mjfParam;
|
||||
stopFlag=false;
|
||||
|
|
@ -322,6 +325,8 @@ public class Simulator extends Thread {
|
|||
|
||||
public void setLoopDelay(int delay) {
|
||||
//TODO : complete method
|
||||
loopDelay = delay;
|
||||
|
||||
}
|
||||
|
||||
public void toggleClickAction() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue