public class SWTPlatform extends JavaPlatform
JavaPlatform.Config, JavaPlatform.Headless| Constructor | Description |
|---|---|
SWTPlatform(JavaPlatform.Config config) |
Creates a new SWT platform and prepares it for operation.
|
| Modifier and Type | Method | Description |
|---|---|---|
org.eclipse.swt.widgets.Composite |
composite() |
Returns the SWT composite that hosts the game view.
|
org.eclipse.swt.widgets.Display |
display() |
Returns the SWT display on which the game is running.
|
SWTGraphics |
graphics() |
|
SWTInput |
input() |
|
org.eclipse.swt.widgets.Shell |
shell() |
Returns the SWT shell in which the game is running.
|
assets, audio, exec, json, log, net, openURL, setTitle, start, storage, tick, time, typepublic SWTPlatform(JavaPlatform.Config config)
public org.eclipse.swt.widgets.Display display()
public org.eclipse.swt.widgets.Shell shell()
public org.eclipse.swt.widgets.Composite composite()
public SWTGraphics graphics()
graphics in class JavaPlatformpublic SWTInput input()
input in class JavaPlatformCopyright © 2018. All Rights Reserved.