holoracer.vehicles
Class EnemyVehicle

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

public class EnemyVehicle
extends Vehicle


Field Summary
 
Fields inherited from class holoracer.vehicles.Vehicle
ACC, highest_speed, last_tile, lean_lr, model, RAD, speed, TURN_SPEED, vehicles
 
Fields inherited from class holoracer.GameObject
location, y_angle
 
Constructor Summary
EnemyVehicle()
           
 
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.vehicles.Vehicle
accelerate, calcPositions, getHighestSpeedAsInt, getPosition, getSpeedAsInt, getTrackTile, getXAsInt, leanCentre, leanLeft, leanRight, stopAccelerating
 
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

EnemyVehicle

public EnemyVehicle()
Method Detail

process

public void process()
Overrides:
process in class Vehicle

shouldBeDrawn

public boolean shouldBeDrawn()

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
Overrides:
draw in class Vehicle
Throws:
java.io.IOException