This commit is contained in:
Timéo 2024-05-27 12:25:45 +02:00
commit c675915726
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,7 @@
package backend; package backend;
import java.util.ArrayList; import java.util.ArrayList;
import windowInterface.MyInterface; import windowInterface.MyInterface;
public class Simulator extends Thread { public class Simulator extends Thread {
@ -27,7 +28,9 @@ public class Simulator extends Thread {
private int[][] world; private int[][] world;
//TODO : add missing attribute(s) //TODO : add missing attribute(s)
public Simulator(MyInterface mjfParam) { public Simulator(MyInterface mjfParam) {
mjf = mjfParam; mjf = mjfParam;
stopFlag=false; stopFlag=false;
@ -322,6 +325,8 @@ public class Simulator extends Thread {
public void setLoopDelay(int delay) { public void setLoopDelay(int delay) {
//TODO : complete method //TODO : complete method
loopDelay = delay;
} }
public void toggleClickAction() { public void toggleClickAction() {