com.jme.system.canvas
Class SimpleCanvasImpl

java.lang.Object
  extended by com.jme.system.canvas.JMECanvasImplementor
      extended by com.jme.system.canvas.SimpleCanvasImpl
Direct Known Subclasses:
SimpleJMEApplet.SimpleAppletCanvasImplementor

public class SimpleCanvasImpl
extends JMECanvasImplementor

SimpleCanvasImpl

Version:
$Id: SimpleCanvasImpl.java 4131 2009-03-19 20:15:28Z blaine.dev $
Author:
Joshua Slack

Field Summary
protected  Camera cam
           
protected  Node rootNode
           
protected  Timer timer
           
protected  float tpf
           
 
Fields inherited from class com.jme.system.canvas.JMECanvasImplementor
height, renderer, setup, width
 
Constructor Summary
protected SimpleCanvasImpl(int width, int height)
          This class should be subclasses - not directly instantiated.
 
Method Summary
 void doRender()
           
 void doSetup()
           
 void doUpdate()
           
 Camera getCamera()
           
 Node getRootNode()
           
 float getTimePerFrame()
           
 void simpleRender()
           
 void simpleSetup()
           
 void simpleUpdate()
           
 
Methods inherited from class com.jme.system.canvas.JMECanvasImplementor
getRenderer, isSetup, resizeCanvas, setBackground, setRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootNode

protected Node rootNode

timer

protected Timer timer

tpf

protected float tpf

cam

protected Camera cam
Constructor Detail

SimpleCanvasImpl

protected SimpleCanvasImpl(int width,
                           int height)
This class should be subclasses - not directly instantiated.

Parameters:
width - canvas width
height - canvas height
Method Detail

doSetup

public void doSetup()
Overrides:
doSetup in class JMECanvasImplementor

doUpdate

public void doUpdate()
Specified by:
doUpdate in class JMECanvasImplementor

doRender

public void doRender()
Specified by:
doRender in class JMECanvasImplementor

simpleSetup

public void simpleSetup()

simpleUpdate

public void simpleUpdate()

simpleRender

public void simpleRender()

getCamera

public Camera getCamera()

getRootNode

public Node getRootNode()

getTimePerFrame

public float getTimePerFrame()