|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectholoracer.GameObject
holoracer.Track
public class Track
| Field Summary | |
|---|---|
int |
length
|
static int |
TRACK_VIEW_LENGTH
|
static int |
WIDTH
|
| Fields inherited from class holoracer.GameObject |
|---|
location, y_angle |
| Constructor Summary | |
|---|---|
Track()
|
|
| Method Summary | |
|---|---|
void |
draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)
|
TrackTile |
getTrackTile(float x,
float z)
|
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 |
| Field Detail |
|---|
public static final int WIDTH
public static final int TRACK_VIEW_LENGTH
public int length
| Constructor Detail |
|---|
public Track()
| Method Detail |
|---|
public boolean shouldBeDrawn()
shouldBeDrawn in interface I3DObject
public void draw(net.java.games.jogl.GL gl,
net.java.games.jogl.GLU glu)
throws java.io.IOException
draw in interface I3DObjectjava.io.IOExceptionpublic void process()
process in class GameObject
public TrackTile getTrackTile(float x,
float z)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||