|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.render.MinimalRenderer
gestalt.render.BasicRenderer
gestalt.applet.JoglAppletRenderer
public abstract class JoglAppletRenderer
| Field Summary |
|---|
| Fields inherited from class gestalt.render.MinimalRenderer |
|---|
WORKAROUND_FORCE_QUIT |
| Constructor Summary | |
|---|---|
JoglAppletRenderer()
|
|
| Method Summary | |
|---|---|
void |
create(DisplayCapabilities theDisplayCapabilities)
'create' is automatically called to create a display context. |
void |
finish()
finish is called after the last loop. |
void |
framerate(int theFramesPerSecond)
set the desired framerate in frames per second. |
int |
getFramerate()
get the currently set desired framerate. |
void |
init()
doesn t work in the applet context. |
void |
init(DisplayCapabilities theDisplayCapabilities)
doesn t work in the applet context. |
void |
loop()
don t use this method. |
abstract void |
loop(float theDeltaTime)
loop is called continously after setup has been called. |
void |
quit()
quits the renderer. |
abstract void |
setup()
this method is called after initialization of the applet. |
void |
start()
|
void |
stop()
|
| Methods inherited from class gestalt.render.BasicRenderer |
|---|
camera, dispose, fog, framefinish, framesetup, keyPressed, keyReleased, light, mousePressed, mouseReleased, origin, replaceCamera, set3DFinishRef, setBinRef, setCameraRef, setFogRef, setFramefinishRef, setFramesetupRef, setLightRef, setOriginRef, setupDefaultRenderbins, toString |
| Methods inherited from class gestalt.render.MinimalRenderer |
|---|
bin, bin, createDisplayCapabilities, display, displaycapabilities, drawablefactory, event, setDisplayRef, setDrawablefactoryRef, setEventRef, updateDisplayCapabilities |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JoglAppletRenderer()
| Method Detail |
|---|
public void create(DisplayCapabilities theDisplayCapabilities)
create in class BasicRenderertheDisplayCapabilities - DisplayCapabilitiespublic abstract void setup()
public abstract void loop(float theDeltaTime)
theDeltaTime - float the time that passed since the last frame in seconds.
with a framerate of 30fps for example the passed value would be 1/30.public final void loop()
public void finish()
public void start()
public void stop()
public void quit()
BasicRenderer
quit in class BasicRendererpublic void framerate(int theFramesPerSecond)
theFramesPerSecond - intpublic int getFramerate()
public final void init(DisplayCapabilities theDisplayCapabilities)
theDisplayCapabilities - DisplayCapabilitiespublic final void init()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||