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() |
JavaGraphics |
graphics() |
JavaInput |
input() |
Json |
json() |
Log |
log() |
Net |
net() |
void |
openURL(String url) |
abstract void |
setTitle(String title)
Sets the title of the window to
title. |
abstract void |
start()
Starts the game loop.
|
Storage |
storage() |
int |
tick() |
double |
time() |
Platform.Type |
type() |
invokeAsync, invokeLater, isAsyncSupported, reportErrorpublic JavaPlatform(JavaPlatform.Config config)
public abstract void setTitle(String title)
title.public abstract void start()
public Platform.Type type()
public JavaAssets assets()
public JavaGraphics graphics()
Copyright © 2015. All Rights Reserved.