summaryrefslogtreecommitdiff
path: root/desktop/src/kz/ilotterytea/maxon/DesktopLauncher.java
blob: 1c7258229a67e7dda30aaf835f5c375743eb4fa0 (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("icons/icon128.png", "icons/icon64.png", "icons/icon32.png", "icons/icon16.png");
		config.setWindowSizeLimits(800, 600, 80000, 60000);

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