render
Interface Renderable

All Known Implementing Classes:
RenderApplet

public interface Renderable

Main interface that for objects to be rendered.


Method Summary
 void animate(double time)
          this is the main animation routine, called per frame
 void drawOverlay(java.awt.Graphics g)
          allows for drawing an overlay layer on top of the rendered graphics
 java.awt.Rectangle getBounds()
          returns the bounds Rectangle for this Renderable
 void initialize()
          initialize all your geometries, materials and lights here
 void setBounds(int x, int y, int w, int h)
           
 void setBounds(java.awt.Rectangle r)
           
 

Method Detail

initialize

public void initialize()
initialize all your geometries, materials and lights here


animate

public void animate(double time)
this is the main animation routine, called per frame

Parameters:
time - system time in seconds

drawOverlay

public void drawOverlay(java.awt.Graphics g)
allows for drawing an overlay layer on top of the rendered graphics

Parameters:
g - graphics onto which the overlay will be rendered

getBounds

public java.awt.Rectangle getBounds()
returns the bounds Rectangle for this Renderable

Returns:
bounds for this Renderable

setBounds

public void setBounds(int x,
                      int y,
                      int w,
                      int h)
Parameters:
x -
y -
w -
h -

setBounds

public void setBounds(java.awt.Rectangle r)
Parameters:
r -