public static class JavaPlatform.Config
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
Key |
activationKey |
If set, toggles the activation mode when pressed.
|
java.lang.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.
|
java.lang.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 | Description |
|---|---|
Config() |
public java.lang.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 java.lang.String appName
public boolean truePause
Copyright © 2018. All Rights Reserved.