Class HeadlessApplicationConfiguration
- java.lang.Object
-
- com.badlogic.gdx.backends.headless.HeadlessApplicationConfiguration
-
public class HeadlessApplicationConfiguration extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description intmaxNetThreadsThe maximum number of threads to use for network requests.java.lang.StringpreferencesDirectoryPreferences directory for headless.intupdatesPerSecondThe amount of updates targeted per second.
-
Constructor Summary
Constructors Constructor Description HeadlessApplicationConfiguration()
-
-
-
Field Detail
-
updatesPerSecond
public int updatesPerSecond
The amount of updates targeted per second. Use 0 to never sleep; negative to not call the render method at all. Default is 60.
-
preferencesDirectory
public java.lang.String preferencesDirectory
Preferences directory for headless. Default is ".prefs/".
-
maxNetThreads
public int maxNetThreads
The maximum number of threads to use for network requests. Default isInteger.MAX_VALUE.
-
-