made Game.updateDisplay() actually work. thanks whoever fucked it up!

closes #4.
closes #2.
This commit is contained in:
Kjistóf 2016-05-13 18:23:09 +02:00
parent b2505d283d
commit 78b7645bfe

View File

@ -1,5 +1,6 @@
package cicaprojekt;
import javax.swing.*;
import java.awt.*;
import java.io.File;
import java.io.IOException;
@ -105,6 +106,12 @@ public class Game {
}
public void updateDisplay() {
display.repaint();
try {
display.drawVisuals();
display.repaint();
}
catch (IOException e) {
Control.ioErrorMessage();
}
}
}