public abstract class JavaPlatform extends Platform
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaPlatform.Config
Defines JavaPlatform configurable parameters.
|
static class |
JavaPlatform.Headless |
Platform.Error, Platform.Lifecycle, Platform.Type| Constructor and Description |
|---|
JavaPlatform(JavaPlatform.Config config) |
| Modifier and Type | Method and Description |
|---|---|
JavaAssets |
assets() |
JavaAudio |
audio() |
Exec |
exec() |
abstract JavaGraphics |
graphics() |
abstract JavaInput |
input() |
Json |
json() |
Log |
log() |
Net |
net() |
void |
openURL(java.lang.String url) |
void |
setTitle(java.lang.String title)
Sets the title of the window to
title. |
void |
start()
Starts the game loop.
|
Storage |
storage() |
int |
tick() |
double |
time() |
Platform.Type |
type() |
dispatchEvent, invokeAsync, invokeLater, isAsyncSupported, reportErrorpublic JavaPlatform(JavaPlatform.Config config)
public void setTitle(java.lang.String title)
title.public void start()
public Platform.Type type()
public JavaAssets assets()
public abstract JavaGraphics graphics()
Copyright © 2019. All Rights Reserved.