public abstract class LwjglApp
extends java.lang.Object
implements java.lang.Runnable
| Modifier and Type | Field and Description |
|---|---|
protected float |
aspect |
protected int |
height |
protected int |
width |
| Constructor and Description |
|---|
LwjglApp() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawFrame() |
static java.awt.Rectangle |
findNonPrimaryRect() |
protected void |
initGl() |
protected void |
onDestroy() |
protected void |
onResize(int width,
int height) |
void |
run() |
protected abstract void |
setupDisplay() |
protected void |
setupDisplay(int left,
int top,
int width,
int height) |
protected void |
setupDisplay(java.awt.Rectangle r) |
protected void |
update() |
protected void initGl()
protected void drawFrame()
protected abstract void setupDisplay()
protected void setupDisplay(java.awt.Rectangle r)
protected void setupDisplay(int left,
int top,
int width,
int height)
public void run()
run in interface java.lang.Runnableprotected void update()
protected void onResize(int width,
int height)
protected void onDestroy()
public static java.awt.Rectangle findNonPrimaryRect()
Copyright © 2013-2014. All Rights Reserved.