public static class JavaPlatform.Config extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
emulateTouch
If set, emulates Touch and disables Mouse.
|
boolean |
headless
Configures platform in headless mode; useful for unit testing.
|
int |
height
The height of the PlayN window, in pixels.
|
float |
scaleFactor
The graphics scale factor.
|
String |
storageFileName
Dictates the name of the temporary file used by
JavaStorage. |
int |
width
The width of the PlayN window, in pixels.
|
| Constructor and Description |
|---|
JavaPlatform.Config() |
public float scaleFactor
public boolean headless
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 emulateTouch
Copyright © 2013. All Rights Reserved.