A B C D E F G H I K L M N P R S T U V W _

A

a - Variable in class KeyNavigatorEx
 
accKeyAdd(Vector3d, Vector3d, Vector3d, double) - Method in class KeyNavigatorEx
 
AddCorner(Point3f) - Method in class CollisionHandler
This method should be called at each turn of the player.
AddCorner(Point3f) - Method in class PlayerWall
Implementation of LocationHandler interface.
addPlayer(Container) - Method in class Tron3D
Creates a new player and attaches the canvas with the player's view to the given window.
addStaticText(String, Point, Font, Color) - Method in class Canvas3DEx
Adds a new static text inside the Canvas3D at the specified position and font.
ALT - Static variable in class KeyNavigatorEx
 

B

bwdAcc - Variable in class KeyNavigatorEx
 
bwdDrag - Variable in class KeyNavigatorEx
 
bwdVMax - Variable in class KeyNavigatorEx
 

C

Canvas3DEx - class Canvas3DEx.
This class extends the Canvas3D class with the following functionality: - Displaying static text inside the Canvas3D
Canvas3DEx.StaticText - class Canvas3DEx.StaticText.
This class is used for storing the static texts.
Canvas3DEx.StaticText(Canvas3DEx, String, Point, Font, Color) - Constructor for class Canvas3DEx.StaticText
 
CollisionHandler - class CollisionHandler.
This class implements the simple two dimensional collision handling.
CollisionHandler(Point3f) - Constructor for class CollisionHandler
Initializes the collision array and sets the surrounding walls.
constructPlayerBranch() - Method in class Player
Creates the player branch group.
createDebugWindow() - Method in class Tron3D
Creates the debug window: a separate window with a view of the playfield.

D

DOWN_ARROW - Static variable in class KeyNavigatorEx
 
downAcc - Variable in class KeyNavigatorEx
 
downDrag - Variable in class KeyNavigatorEx
 
downRotAngle - Variable in class KeyNavigatorEx
 
downVMax - Variable in class KeyNavigatorEx
 
dp - Variable in class KeyNavigatorEx
 
dv - Variable in class KeyNavigatorEx
 

E

endGame() - Method in class Player
Command for stopping the game.

F

FIELD_HIGH - Static variable in class CollisionHandler
Playfield high
FIELD_WIDTH - Static variable in class CollisionHandler
Playfield width
fwdAcc - Variable in class KeyNavigatorEx
 
fwdDrag - Variable in class KeyNavigatorEx
 
fwdVMax - Variable in class KeyNavigatorEx
 

G

genRotQuat(double, int, Quat4d) - Method in class KeyNavigatorEx
 
getBranchGroup() - Method in class PlayField
Returns the created branch group.
getCanvas() - Method in class Player
Returns the canvas of the player view window.
getCollPoint() - Method in class CollisionHandler
Returns the location of the collision.
getDebugMode() - Static method in class Tron3D
Returns the debug mode
getDeltaTime() - Method in class KeyNavigatorEx
 
getKeyNavigatorEx() - Method in class KeyNavigatorBehaviorEx
 
getView() - Method in class Player
Returns the player view.
getViewBrGroup() - Method in class Player
Returns the view branch group.
getWallBrGroup() - Method in class Player
Returns the wall branch group.

H

HOME_DIR - Static variable in class KeyNavigatorEx
 
HOME_NOMINAL - Static variable in class KeyNavigatorEx
 

I

initialize() - Method in class KeyNavigatorBehaviorEx
Override Behavior's initialize method to setup wakeup criteria.
integrateTransformChanges() - Method in class KeyNavigatorEx
Computes a new transform for the next frame based on the current transform, accumulated keyboard inputs, and elapsed time.
integrateTransformChanges() - Method in class PlayerKeyNavigator
Computes a new transform for the next frame based on the current transform, accumulated keyboard inputs, and elapsed time.
isCollision() - Method in class CollisionHandler
Returns the status of a collision.

K

KEY_DOWN - Static variable in class KeyNavigatorEx
 
key_state - Variable in class KeyNavigatorEx
 
KEY_UP - Static variable in class KeyNavigatorEx
 
KeyNavigatorBehaviorEx - class KeyNavigatorBehaviorEx.
This class is a simple behavior that invokes the KeyNavigator to modify the view platform transform.
KeyNavigatorBehaviorEx(KeyNavigatorEx) - Constructor for class KeyNavigatorBehaviorEx
Constructs a new key navigator behavior node that operates on the specified key navigator.
KeyNavigatorBehaviorEx(TransformGroup) - Constructor for class KeyNavigatorBehaviorEx
Constructs a new key navigator behavior node that operates on the specified transform group.
KeyNavigatorEx - class KeyNavigatorEx.
This is the KeyNavigator class.
KeyNavigatorEx(TransformGroup) - Constructor for class KeyNavigatorEx
Constructs a new key navigator object that operates on the specified transform group.

L

LEFT_ARROW - Static variable in class KeyNavigatorEx
 
leftAcc - Variable in class KeyNavigatorEx
 
leftDrag - Variable in class KeyNavigatorEx
 
leftRotAngle - Variable in class KeyNavigatorEx
 
leftVMax - Variable in class KeyNavigatorEx
 
lrQuat - Variable in class KeyNavigatorEx
 

M

m_Backward - Variable in class KeyNavigatorEx
 
m_bActive - Variable in class PlayerKeyNavigator
 
m_bCollision - Variable in class CollisionHandler
Collision state
m_bCollision - Variable in class PlayerKeyNavigator
 
m_bTurn - Variable in class PlayerKeyNavigator
 
m_byarrCollision - Static variable in class CollisionHandler
Two dimensional collision array
m_cBrGroup - Variable in class PlayField
 
m_cCanvas3D - Variable in class Player
Player window canvas
m_cCollisionHandler - Variable in class PlayerKeyNavigator
 
m_cCollPoint - Variable in class CollisionHandler
Collision location
m_cGraphic - Variable in class Canvas3DEx
 
m_cKeyNavigator - Variable in class Player
 
m_cLocationHandler - Variable in class PlayerKeyNavigator
 
m_cPlayer - Variable in class PlayerKeyNavigator
 
m_cPlayerWall - Variable in class Player
 
m_cStartPoint - Variable in class Player
Start position in the playfield
m_cView - Variable in class Player
Player view
m_cViewBrGroup - Variable in class Player
View branch group
m_cWallBrGroup - Variable in class Player
View branch group
m_cWallColor - Variable in class Player
Wall color
m_cWallTrGroup - Variable in class Player
Wall transform group
m_Equals - Variable in class KeyNavigatorEx
 
m_Forward - Variable in class KeyNavigatorEx
 
m_iLastX - Variable in class CollisionHandler
Previous player location at the last frame.
m_iLastY - Variable in class CollisionHandler
Previous player location at the last frame.
m_Left - Variable in class KeyNavigatorEx
 
m_Minus - Variable in class KeyNavigatorEx
 
m_Plus - Variable in class KeyNavigatorEx
 
m_Right - Variable in class KeyNavigatorEx
 
m_STextList - Variable in class Canvas3DEx
 
m_theApp - Static variable in class CollisionHandler
Reference to main application
m_ViewDown - Variable in class KeyNavigatorEx
 
m_ViewUp - Variable in class KeyNavigatorEx
 
main(String[]) - Static method in class Tron3D
Creates the game
mat - Variable in class KeyNavigatorEx
 
MAX_X - Static variable in class PlayField
 
MAX_Y - Static variable in class PlayField
 
MAX_Z - Static variable in class PlayField
 
META - Static variable in class KeyNavigatorEx
 
MIN_X - Static variable in class PlayField
 
MIN_Y - Static variable in class PlayField
 
MIN_Z - Static variable in class PlayField
 
MINUS_SIGN - Static variable in class KeyNavigatorEx
 
mmx - Variable in class KeyNavigatorEx
 
modifier_key_state - Variable in class KeyNavigatorEx
 

N

navVec - Variable in class KeyNavigatorEx
 
nda - Variable in class KeyNavigatorEx
 
nominal - Variable in class KeyNavigatorEx
 

P

PAGE_DOWN - Static variable in class KeyNavigatorEx
 
PAGE_UP - Static variable in class KeyNavigatorEx
 
Player - class Player.
 
Player(Point3f) - Constructor for class Player
Creates all elements needed for a new player: - Player view - Key and collision handler
PlayerKeyNavigator - class PlayerKeyNavigator.
This is the KeyNavigator class.
PlayerKeyNavigator(Player, TransformGroup) - Constructor for class PlayerKeyNavigator
Constructs a new key navigator object that operates on the specified transform group.
PlayerWall - class PlayerWall.
This class is responsible for drawing the wall behind the player's bike.
PlayField - class PlayField.
The PlayField class defines the play field.
PlayField.Surface - class PlayField.Surface.
Defines the surface of the play field.
PlayField.Surface(PlayField) - Constructor for class PlayField.Surface
 
PlayField.Walls - class PlayField.Walls.
Defines the sourrounding walls of the play field.
PlayField.Walls(PlayField) - Constructor for class PlayField.Walls
 
PlayField() - Constructor for class PlayField
Creates the branch group of the play field and creates and attaches the walls and the surface.
PLUS_SIGN - Static variable in class KeyNavigatorEx
 
postSwap() - Method in class Canvas3DEx
 
processKeyEvent(KeyEvent) - Method in class KeyNavigatorEx
Processed a keyboard event.
processKeyEvent(KeyEvent) - Method in class PlayerKeyNavigator
Processed a keyboard event.
processStimulus(Enumeration) - Method in class KeyNavigatorBehaviorEx
Override Behavior's stimulus method to handle the event.

R

resetVelocity() - Method in class KeyNavigatorEx
Resets the keyboard navigation velocity to 0.
RIGHT_ARROW - Static variable in class KeyNavigatorEx
 
rightAcc - Variable in class KeyNavigatorEx
 
rightDrag - Variable in class KeyNavigatorEx
 
rightRotAngle - Variable in class KeyNavigatorEx
 
rightVMax - Variable in class KeyNavigatorEx
 

S

setBackwardKey(int) - Method in class KeyNavigatorEx
 
setColor(Color3f) - Method in class PlayerWall
Sets the wall color.
setEqualKey(int) - Method in class KeyNavigatorEx
 
setForwardKey(int) - Method in class KeyNavigatorEx
 
setForwardKey(int) - Method in class Player
Sets the forward motion key.
setGameOver(Player) - Method in class Tron3D
Callback function for the location handler.
setLeftKey(int) - Method in class KeyNavigatorEx
 
setLeftKey(int) - Method in class Player
Sets the key for a left turn.
SetLocation(Point3f) - Method in class CollisionHandler
Sets the current location of the player in the collision matrix and checks for a collision.
SetLocation(Point3f) - Method in class PlayerWall
Implementation of the LocationHandler interface.
setMinusKey(int) - Method in class KeyNavigatorEx
 
setPlusKey(int) - Method in class KeyNavigatorEx
 
setRightKey(int) - Method in class KeyNavigatorEx
 
setRightKey(int) - Method in class Player
Sets the key for a right turn.
setViewDownKey(int) - Method in class KeyNavigatorEx
 
setViewUpKey(int) - Method in class KeyNavigatorEx
 
setWallColor(Color3f) - Method in class Player
Sets the wall color of the player's wall.
SHIFT - Static variable in class KeyNavigatorEx
 
startGame() - Method in class Player
Command for starting the game.

T

targetTG - Variable in class KeyNavigatorEx
 
temp - Variable in class KeyNavigatorEx
 
time - Variable in class KeyNavigatorEx
 
Tron3D - class Tron3D.
This is the main application class.
Tron3D(String[]) - Constructor for class Tron3D
Program initialization.

U

udQuat - Variable in class KeyNavigatorEx
 
UP_ARROW - Static variable in class KeyNavigatorEx
 
upAcc - Variable in class KeyNavigatorEx
 
upDrag - Variable in class KeyNavigatorEx
 
upRotAngle - Variable in class KeyNavigatorEx
 
upVMax - Variable in class KeyNavigatorEx
 

V

vpMatrix - Variable in class KeyNavigatorEx
 
vpPos - Variable in class KeyNavigatorEx
 
vpQuat - Variable in class KeyNavigatorEx
 
vpScale - Variable in class KeyNavigatorEx
 
vpTrans - Variable in class KeyNavigatorEx
 

W

WALL_HIGH - Static variable in class PlayField
 
WALL_WIDTH - Static variable in class PlayField
 

_

_theApp - Static variable in class Tron3D
Global reference to the Tron3D class

A B C D E F G H I K L M N P R S T U V W _