Complete the getWithd and getHeight and returned the number of colimn

and line
This commit is contained in:
Abes Adam 2024-05-07 16:33:39 +02:00
parent 3fd7715009
commit 7cfd470116
1 changed files with 4 additions and 3 deletions

View File

@ -24,7 +24,8 @@ public class Simulator extends Thread {
private boolean loopingBorder; private boolean loopingBorder;
private boolean clickActionFlag; private boolean clickActionFlag;
private int loopDelay = 150; private int loopDelay = 150;
//TODO : add missing attribute(s) //TODO : add missing attribute(s)
public Simulator(MyInterface mjfParam) { public Simulator(MyInterface mjfParam) {
@ -51,12 +52,12 @@ public class Simulator extends Thread {
public int getWidth() { public int getWidth() {
//TODO : replace with proper return //TODO : replace with proper return
return 0; return COL_NUM;
} }
public int getHeight() { public int getHeight() {
//TODO : replace with proper return //TODO : replace with proper return
return 0; return LINE_NUM;
} }
//Should probably stay as is //Should probably stay as is