This commit is contained in:
DylanVsn 2019-10-16 09:28:38 +02:00
commit 579f33d34e

View File

@ -47,6 +47,7 @@ class ElevatorCanvas extends JPanel {
g.setColor(Color.BLACK); g.setColor(Color.BLACK);
} }
g.fillRect(0, y, WIDTH, HEIGHT); g.fillRect(0, y, WIDTH, HEIGHT);
Toolkit.getDefaultToolkit().sync();
} }
public void setElevatorY(int y) { public void setElevatorY(int y) {