summaryrefslogtreecommitdiff
path: root/desktop/src/kz/ilotterytea/maxon/DesktopLauncher.java
blob: f2244af18af76d2c74fe53b7a1889898e88a0700 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package kz.ilotterytea.maxon;

import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;

// Please note that on macOS your application needs to be started with the -XstartOnFirstThread JVM argument
public class DesktopLauncher {
	public static void main (String[] arg) {
		Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration();
		config.setForegroundFPS(60);
		config.setTitle(MaxonConstants.GAME_NAME);
		config.setWindowIcon("icon_chest.png");
		config.setWindowSizeLimits(800, 600, 80000, 60000);

		new Lwjgl3Application(MaxonGame.getInstance(), config);
	}
}