ApplicationFrame now calls gamepanel.DrawVisuals().
Meow. :3
This commit is contained in:
parent
cc1094512a
commit
3522c83baa
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user