Skip to content
Snippets Groups Projects
DesktopLauncher.java 554 B
Newer Older
jez04's avatar
jez04 committed
package cz.vsb.kp;

import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import cz.vsb.kp.Game;

// 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("My First Game");
		new Lwjgl3Application(new Game(), config);
	}
}