public static class JavaPlatform.Config extends Object
| Modifier and Type | Field and Description |
|---|---|
Key |
activationKey
If set, toggles the activation mode when pressed.
|
String |
appName
If supported by the backend and platform, configures the application's name and initial
window title.
|
boolean |
convertImagesOnLoad
If set, converts images into a format for fast GPU uploads when initially loaded versus
doing it on demand when displayed.
|
boolean |
emulateTouch
If set, emulates Touch and disables Mouse.
|
boolean |
fullscreen
Whether or not to run the game in fullscreen mode.
|
int |
height
The height of the PlayN window, in pixels.
|
Key |
pivotKey
If {link #emulateTouch} is set, sets the pivot for a two-finger touch when pressed.
|
String |
storageFileName
Dictates the name of the temporary file used by
JavaStorage. |
boolean |
truePause
Stop processing frames while the app is "inactive", to better emulate iOS.
|
int |
width
The width of the PlayN window, in pixels.
|
| Constructor and Description |
|---|
Config() |
public String storageFileName
JavaStorage. Configure this if you
want to run multiple sessions without overwriting one another's storage.public int width
public int height
public boolean fullscreen
public boolean emulateTouch
public Key pivotKey
public Key activationKey
IOSGameView.public boolean convertImagesOnLoad
public String appName
public boolean truePause
Copyright © 2015. All Rights Reserved.