ApplicationFrame now calls gamepanel.DrawVisuals().

Meow. :3
This commit is contained in:
ericnerdo 2016-05-13 15:32:32 +02:00
parent cc1094512a
commit 3522c83baa

View File

@ -24,9 +24,11 @@ public class ApplicationFrame implements Runnable
File dungeonSource = ((JList<File>) e.getComponent()).getSelectedValue(); File dungeonSource = ((JList<File>) e.getComponent()).getSelectedValue();
try { try {
setGameParams(dungeonSource); setGameParams(dungeonSource);
gamepanel.drawVisuals();
} catch (IOException e1) { } catch (IOException e1) {
JOptionPane.showMessageDialog(null, "Nem sikerült cicát nyitni! :("); JOptionPane.showMessageDialog(null, "Nem sikerült cicát nyitni! :(");
} }
jframe.add(gamepanel); jframe.add(gamepanel);
jframe.revalidate(); jframe.revalidate();
} }