blob: 087ba872eb774f7f9bb859ceb50317c091398dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package net.caraus.fadein;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application;
import com.badlogic.gdx.backends.lwjgl3.Lwjgl3ApplicationConfiguration;
import net.caraus.fadein.FadeIn;
// 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(30);
config.setTitle("Fade In");
new Lwjgl3Application(new FadeIn(), config);
}
}
|