List of usage examples for com.badlogic.gdx.backends.lwjgl3 Lwjgl3ApplicationConfiguration setPreferencesConfig
public void setPreferencesConfig(String preferencesDirectory, Files.FileType preferencesFileType)
From source file:com.agateau.pixelwheels.desktop.DesktopLauncher.java
License:Apache License
public static void main(String[] arg) { Lwjgl3ApplicationConfiguration config = new Lwjgl3ApplicationConfiguration(); config.setWindowedMode(PwStageScreen.WIDTH, PwStageScreen.HEIGHT); config.setTitle("Pixel Wheels"); config.setPreferencesConfig(".config/agateau.com", Files.FileType.External); config.useVsync(true);/*from w w w. j a v a 2 s .c om*/ FileUtils.appName = "pixelwheels"; new Lwjgl3Application(new PwGame(), config); }