holoracer.vehicles
Class PlayersVehicle

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

public class PlayersVehicle
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
PlayersVehicle()
           
 
Method Summary
 void draw(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
           
 boolean shouldBeDrawn()
           
 
Methods inherited from class holoracer.vehicles.Vehicle
accelerate, calcPositions, getHighestSpeedAsInt, getPosition, getSpeedAsInt, getTrackTile, getXAsInt, leanCentre, leanLeft, leanRight, process, 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

PlayersVehicle

public PlayersVehicle()
Method Detail

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