From ccebde0500f6f2ce58619790f22a4e1a0a6a840f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 11 Sep 2014 17:05:42 +0200 Subject: desktop : adapt windows size to map size --- desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java b/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java index d9b14e4..463c33c 100644 --- a/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java +++ b/desktop/src/ch/asynk/tankontank/desktop/DesktopLauncher.java @@ -5,8 +5,11 @@ import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import ch.asynk.tankontank.TankOnTank; public class DesktopLauncher { - public static void main (String[] arg) { - LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); - new LwjglApplication(new TankOnTank(), config); - } + public static void main (String[] arg) { + LwjglApplicationConfiguration config = new LwjglApplicationConfiguration(); + config.title = "Tank On Tank"; + config.width = 800; + config.height = 626; + new LwjglApplication(new TankOnTank(), config); + } } -- cgit v1.1-2-g2b99