get width and height

This commit is contained in:
isabe 2024-05-04 16:55:05 +02:00
parent ac67aa6735
commit 28a99d49cd
1 changed files with 4 additions and 2 deletions

View File

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