save game settings and parse them
This commit is contained in:
@@ -13,11 +13,13 @@ public class Boot {
|
||||
window.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
|
||||
window.setResizable(false);
|
||||
window.setTitle("JGame2D");
|
||||
//window.setUndecorated(true);
|
||||
|
||||
GamePanel gamePanel = new GamePanel();
|
||||
window.add(gamePanel);
|
||||
|
||||
gamePanel.config.load();
|
||||
if(gamePanel.fullscreen) window.setUndecorated(true);
|
||||
|
||||
window.pack();
|
||||
|
||||
window.setLocationRelativeTo(null);
|
||||
|
||||
Reference in New Issue
Block a user