JavaPlatform.Headlesspublic abstract class JavaPlatform extends Platform
| Modifier and Type | Class | Description |
|---|---|---|
static class |
JavaPlatform.Config |
Defines JavaPlatform configurable parameters.
|
static class |
JavaPlatform.Headless |
Platform.Error, Platform.Lifecycle, Platform.Type| Constructor | Description |
|---|---|
JavaPlatform(JavaPlatform.Config config) |
| Modifier and Type | Method | 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() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispatchEvent, 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 © 2018. All Rights Reserved.