holoracer
Class TrackTile

java.lang.Object
  extended by holoracer.TrackTile

public class TrackTile
extends java.lang.Object


Field Summary
static int TILE_ACC
           
static int TILE_DEC
           
static int TILE_NORMAL
           
 
Constructor Summary
TrackTile(int x, int z)
           
 
Method Summary
 void draw(net.java.games.jogl.GL gl, net.java.games.jogl.GLU glu)
           
 float getHeight()
           
 int getType()
           
 void setAcc()
           
 void setFlag()
           
 void setTunnel()
           
 void setTurn(float d1, float d2)
           
 void setWall()
           
 boolean shouldBeDrawn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TILE_NORMAL

public static final int TILE_NORMAL
See Also:
Constant Field Values

TILE_ACC

public static final int TILE_ACC
See Also:
Constant Field Values

TILE_DEC

public static final int TILE_DEC
See Also:
Constant Field Values
Constructor Detail

TrackTile

public TrackTile(int x,
                 int z)
Method Detail

getType

public int getType()

getHeight

public float getHeight()

setTurn

public void setTurn(float d1,
                    float d2)

setTunnel

public void setTunnel()

setFlag

public void setFlag()

setWall

public void setWall()

setAcc

public void setAcc()

shouldBeDrawn

public boolean shouldBeDrawn()

draw

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