holoracer.vehicles
Class DemoVehicle

java.lang.Object
  extended by holoracer.GameObject
      extended by holoracer.vehicles.DemoVehicle
All Implemented Interfaces:
I3DObject

public class DemoVehicle
extends GameObject
implements I3DObject


Field Summary
 
Fields inherited from class holoracer.GameObject
location, y_angle
 
Constructor Summary
DemoVehicle()
           
 
Method Summary
 void draw(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
           
 void process()
           
 boolean shouldBeDrawn()
           
 
Methods inherited from class holoracer.GameObject
moveToPosition, restorePosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DemoVehicle

public DemoVehicle()
Method Detail

shouldBeDrawn

public boolean shouldBeDrawn()
Specified by:
shouldBeDrawn in interface I3DObject

draw

public void draw(net.java.games.jogl.GL gl,
                 net.java.games.jogl.GLU glu)
          throws java.io.IOException
Specified by:
draw in interface I3DObject
Throws:
java.io.IOException

process

public void process()
Specified by:
process in class GameObject