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

A

Absorber - Class in components
Absorber is a mutable object that can take in a ball and shoot it out.
Absorber(Map<String, String>, GameSpace) - Constructor for class components.Absorber
Construct an absorber in GameSpace g with the given properties
AbsorberFactory - Class in components
an AbsorberFactory is an immutable object that creates Absorbers
AbsorberFactory() - Constructor for class components.AbsorberFactory
 
AbsorberPanel - Class in swingui
AbsorberPanel is a mutable class that extends JPanel and contains the GUI tools for adding/removing balls from an absorber.
AbsorberPanel() - Constructor for class swingui.AbsorberPanel
create a new absorber panel.
action() - Method in class components.GameObject
Schedules actionPerformed() to happen after this.delay
actionPerformed(ActionEvent) - Method in class components.Absorber
 
actionPerformed(ActionEvent) - Method in class components.Flipper
 
actionPerformed(ActionEvent) - Method in class components.GameObject
This is overriden in objects where something actually occurs when triggered, for example, Flippers
actionPerformed(ActionEvent) - Method in class swingui.AbsorberPanel
either adds a ball or deletes the currently held one
actionPerformed(ActionEvent) - Method in class swingui.AddKeyWindow
when select button is clicked, add key trigger and dispose of dialog
actionPerformed(ActionEvent) - Method in class swingui.MainGUI
 
actionPerformed(ActionEvent) - Method in class swingui.ModePanel
toggle play/pause in the gui when the button is pressed
actionPerformed(ActionEvent) - Method in class swingui.TargetPanel
on actionEvent: if add - set listener on gui for adding if clear - clear all targets otherwise - delete only the given target
actionPerformed(ActionEvent) - Method in class swingui.TriggerPanel
pop up a keyselect dialog
actionPerformed(ActionEvent) - Method in class swingui.VelocityPanel
when clicked, set the velocity of the current object
activate() - Method in class swingui.AddPanel
enable all buttons on this panel
add(GameObject) - Method in class components.GameSpace
 
addDownKey(int, GameObject) - Method in class components.GameSpace
 
AddKeyWindow - Class in swingui
AddKeyWindow is a mutable class that extends JFrame to make a window that allows the user to add a key trigger
AddKeyWindow(TriggerPanel, GameSpace, GameObject, boolean) - Constructor for class swingui.AddKeyWindow
construct an AddKeyWindow, with references to its parent, its GameSpace and Object, and which direction we want to add a key trigger in (key press or release).
AddPanel - Class in swingui
AddPanel is a panel that contains a multitude of buttons for adding, moving, and deleting objects.
AddPanel(MainGUI) - Constructor for class swingui.AddPanel
Create a new AddPanel.
addTarget(GameObject) - Method in class components.GameObject
 
addUpKey(int, GameObject) - Method in class components.GameSpace
 
Angle - Class in physics3d
Angle is an immutable abstract data type which represents the mathematical notion of an angle.
Angle(double) - Constructor for class physics3d.Angle
 
Angle(double, double) - Constructor for class physics3d.Angle
 
angleBetween(Vect3) - Method in class physics3d.Vect3
 
AngleSelect - Class in swingui
 
AngleSelect(Angle, String) - Constructor for class swingui.AngleSelect
greate a new angle
applyReflectionCoeff(Vect3, Vect3, double) - Method in class physics3d.Geometry3D
Accounts for the effects of inelastic collisions given the intial and resulting velocities of the collision assuming elasticity.

B

Ball - Class in components
A Ball is a mutable object that bounces around the GameSpace
Ball(Vect3, Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.Ball
 
Ball(Vect3, Vect3, String, GameSpace) - Constructor for class components.Ball
 
Ball(Vect3, String, GameSpace) - Constructor for class components.Ball
 
Ball(Map<String, String>, GameSpace) - Constructor for class components.Ball
 
ball() - Method in class physics3d.Collision
 
BallFactory - Class in components
A BallFactory is an immutable object that makes Balls
BallFactory() - Constructor for class components.BallFactory
 
BOARD_DEPTH - Static variable in class physics3d.GameConstants
 
BOARD_HEIGHT - Static variable in class physics3d.GameConstants
 
BOARD_WIDTH - Static variable in class physics3d.GameConstants
 
BouncingOffWalls - Class in test
 
BouncingOffWalls() - Constructor for class test.BouncingOffWalls
 

C

center - Variable in class components.GameObject
 
checkAdd(GameSpace, GameObject) - Method in class test.TestGameSpace
 
checkCreation(Vect3, Vect3, String, GameSpace) - Method in class test.TestBall
 
checkCreation(Vect3, Vect3, Angle, String, GameSpace) - Method in class test.TestCircleBumper
 
checkCreation(Vect3, Vect3, Angle, String, GameSpace) - Method in class test.TestSquareBumper
 
checkCreation(Vect3, Vect3, Angle, String, GameSpace) - Method in class test.TestTriangleBumper
 
checkEquals(Ball, Ball) - Method in class test.TestBall
 
checkEquals(CircleBumper, CircleBumper) - Method in class test.TestCircleBumper
 
checkEquals(SquareBumper, SquareBumper) - Method in class test.TestSquareBumper
 
checkEquals(TriangleBumper, TriangleBumper) - Method in class test.TestTriangleBumper
 
checkGameSpace(Ball, GameSpace) - Method in class test.TestBall
 
checkGetObjects(GameSpace, Set<GameObject>) - Method in class test.TestGameSpace
 
checkGetPosition(Ball, Vect3) - Method in class test.TestBall
 
checkGetPosition(CircleBumper, Vect3) - Method in class test.TestCircleBumper
 
checkGetPosition(SquareBumper, Vect3) - Method in class test.TestSquareBumper
 
checkGetPosition(TriangleBumper, Vect3) - Method in class test.TestTriangleBumper
 
checkGetVelocity(Ball, Vect3) - Method in class test.TestBall
 
checkGetVelocity(CircleBumper) - Method in class test.TestCircleBumper
 
checkGetVelocity(SquareBumper) - Method in class test.TestSquareBumper
 
checkGetVelocity(TriangleBumper) - Method in class test.TestTriangleBumper
 
checkName(Ball, String) - Method in class test.TestBall
 
checkName(CircleBumper, String) - Method in class test.TestCircleBumper
 
checkName(SquareBumper, String) - Method in class test.TestSquareBumper
 
checkName(TriangleBumper, String) - Method in class test.TestTriangleBumper
 
checkNotEquals(Ball, Ball) - Method in class test.TestBall
 
checkNotEquals(CircleBumper, CircleBumper) - Method in class test.TestCircleBumper
 
checkNotEquals(SquareBumper, SquareBumper) - Method in class test.TestSquareBumper
 
checkNotEquals(TriangleBumper, TriangleBumper) - Method in class test.TestTriangleBumper
 
checkOrientAngle(CircleBumper, Angle) - Method in class test.TestCircleBumper
 
checkOrientAngle(SquareBumper, Angle) - Method in class test.TestSquareBumper
 
checkOrientAngle(TriangleBumper, Angle) - Method in class test.TestTriangleBumper
 
checkOrientVector(CircleBumper, Vect3) - Method in class test.TestCircleBumper
 
checkOrientVector(SquareBumper, Vect3) - Method in class test.TestSquareBumper
 
checkOrientVector(TriangleBumper, Vect3) - Method in class test.TestTriangleBumper
 
checkRF(GameObject, Set<Vect3>) - Method in class test.TestGetOccupiedPositions
 
checkShape(Ball) - Method in class test.TestBall
 
checkShape(CircleBumper) - Method in class test.TestCircleBumper
 
checkShape(SquareBumper) - Method in class test.TestSquareBumper
 
checkShape(TriangleBumper) - Method in class test.TestTriangleBumper
 
CircleBumper - Class in components
A CircleBumper is a mutable object that represents a Cylindrically Shaped bumper
CircleBumper(Map<String, String>, GameSpace) - Constructor for class components.CircleBumper
 
CircleBumper(Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.CircleBumper
 
CircleBumper(Vect3, String, GameSpace) - Constructor for class components.CircleBumper
 
CircleFactory - Class in components
A CircleFactory is an immutable object that creates CircleBumpers and extends GameObjectFactory
CircleFactory() - Constructor for class components.CircleFactory
 
clear() - Method in class swingui.DetailPanel
clear the detail panel (i.e.
clearDowns(GameObject) - Method in class components.KeyRegistry
clear all key down triggers assoc with this object
clearObject() - Method in class components.Absorber
remove the object from the absorber
clearTargets() - Method in class components.GameObject
 
clearTextures() - Method in class rendering.Renderer
 
clearTriggerList() - Method in class swingui.TriggerPanel
clear the triggerlist panel
clearUps(GameObject) - Method in class components.KeyRegistry
clear all key up triggers assoc with this object
Collision - Class in physics3d
 
Collision(Ball) - Constructor for class physics3d.Collision
initialise to a null collision
compareTo(Object) - Method in class physics3d.Angle
Compares this object with the specified object for order.
compareTo(Angle) - Method in class physics3d.Angle
Compares this object with the specified object for order.
components - package components
 
constantVelMove(Ball, double) - Static method in class physics3d.GamePhysics
move the ball at its current velocity for time time
containsPoint(Vect3) - Method in class physics3d.LateralCylinder
 
containsPoint(Vect3) - Method in class physics3d.Line
 
containsPoint(Vect3) - Method in interface physics3d.PhysicsShape
 
containsPoint(Vect3) - Method in class physics3d.Plane
 
containsPoint(Vect3) - Method in class physics3d.PlaneCircle
 
containsPoint(Vect3) - Method in class physics3d.PlanePolygon
 
containsPoint(Vect3) - Method in class physics3d.Sphere
 
containsPoint(Vect3) - Method in class physics3d.Torus
 
coRef - Variable in class components.GameObject
 
cos() - Method in class physics3d.Angle
 
cross(Vect3) - Method in class physics3d.Vect3
 

D

deactivate() - Method in class swingui.AddPanel
disable all buttons on this panel.
DEFAULT_ANGLES - Static variable in class swingui.AngleSelect
 
defaults() - Method in class components.Ball
 
defaults() - Method in class components.Flipper
default coref for flippers is 0.95.
defaults() - Method in class components.GameObject
sets all the defaults for this class.
defaults() - Method in class components.Wall
 
DEG_135 - Static variable in class physics3d.Angle
A 135-degree angle
DEG_180 - Static variable in class physics3d.Angle
A 180-degree angle
DEG_225 - Static variable in class physics3d.Angle
A 225-degree angle
DEG_270 - Static variable in class physics3d.Angle
A 270-degree angle
DEG_315 - Static variable in class physics3d.Angle
A 315-degree angle
DEG_45 - Static variable in class physics3d.Angle
A 45-degree angle
DEG_90 - Static variable in class physics3d.Angle
A 90-degree angle
degrees() - Method in class physics3d.Angle
 
delay - Variable in class components.GameObject
 
DelayPanel - Class in swingui
DelayPanel is a mutable class that lists to a slider to set the delay property for a given gizmo.
DelayPanel() - Constructor for class swingui.DelayPanel
Create a delay panel with slider initially greyed out
depth - Variable in class components.GameObject
 
DetailPanel - Class in swingui
The DetailPanel is a mutable class that displays detailed information about a particular object, when it is selected in build mode.
DetailPanel(MainGUI) - Constructor for class swingui.DetailPanel
 
display(GLAutoDrawable) - Method in class rendering.Renderer
Renders all displayable objects
displayChanged(GLAutoDrawable, boolean, boolean) - Method in class rendering.Renderer
method required by GLEventListener interface
distanceSquared(Vect3) - Method in class physics3d.Vect3
 
dot(Vect3) - Method in class physics3d.Vect3
 
drawLateralCylinder(GLAutoDrawable, Vect3, Vect3, Angle, PhysicsShape, Texture) - Method in class rendering.ShapeRenderer
 
drawPlaneCircle(GLAutoDrawable, Vect3, Vect3, Angle, PhysicsShape, Texture) - Method in class rendering.ShapeRenderer
 
drawPlanePolygon(GLAutoDrawable, Vect3, Vect3, Angle, PhysicsShape, Texture) - Method in class rendering.ShapeRenderer
 
drawSphere(GLAutoDrawable, Vect3, Vect3, Angle, PhysicsShape, Texture) - Method in class rendering.ShapeRenderer
 

E

equals(Object) - Method in class components.GameObject
 
equals(Angle) - Method in class physics3d.Angle
 
equals(Object) - Method in class physics3d.Angle
 
equals(Vect3) - Method in class physics3d.Vect3
 
equals(Object) - Method in class physics3d.Vect3
 
equals(Object) - Method in class physics3d.Vect3Pair
 
equals(Vect3Pair) - Method in class physics3d.Vect3Pair
 
evaluate(double) - Method in interface physics3d.ZeroFinder.Function
 

F

farther(GameObject, GameObject) - Static method in class physics3d.OldGamePhysics
Given too game objects, ball and canidate, father will return true only if ball is getting closer to canidate.
findCylinderNormalToBall(LateralCylinder, Sphere) - Method in class physics3d.Geometry3D
 
findRoot(ZeroFinder.Function, double, double, int) - Static method in class physics3d.ZeroFinder
 
findSphereNormalToBall(Sphere, Sphere) - Method in class physics3d.Geometry3D
 
findTorusNormalToBall(Torus, Sphere) - Method in class physics3d.Geometry3D
 
Flipper - Class in components
A Flipper is a mutable object that represents a flipper in the game A flipper
Flipper(Vect3, Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.Flipper
 
Flipper(Map<String, String>, GameSpace) - Constructor for class components.Flipper
 
FLIPPER_RADIUS_FRACTION - Static variable in class physics3d.GameConstants
 
freeMove(Ball, double) - Static method in class physics3d.GamePhysics
Move the given ball for the specified amount of time, under only the influence of gravity and air resistance
freeMove(Ball, double) - Static method in class physics3d.OldGamePhysics
Move the given ball for the specified amount of time, under only the influence of gravity and air resistance
frozen - Variable in class components.GameObject
 

G

g - Variable in class components.GameObject
 
GameConstants - Class in physics3d
 
GameConstants() - Constructor for class physics3d.GameConstants
 
GameObject - Class in components
GameObject is the most basic description of an object in gizmo ball.
GameObject(Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.GameObject
 
GameObject(Map<String, String>, GameSpace) - Constructor for class components.GameObject
 
GameObject(Vect3, Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.GameObject
 
GameObjectClassification - Enum in components
GameObjectClassification is a tag that describes a GameObject This is the enum of GameObjectType that exists, it is useful for new gizmo construction.
GameObjectFactory<G extends GameObject> - Class in components
GameObjectFactory creates GameObjects.
GameObjectFactory() - Constructor for class components.GameObjectFactory
 
GamePhysics - Class in physics3d
GamePhysics is an immutable class with static methods that does the physics calculations
GamePhysics() - Constructor for class physics3d.GamePhysics
 
GameSettings - Class in components
GameSettings is a mutable object that holds gamesettings
GameSettings() - Constructor for class components.GameSettings
 
GameSpace - Class in components
GameSpace is the game board where a game of Gizmoball take place
GameSpace(GameSettings) - Constructor for class components.GameSpace
 
Geometry3D - Class in physics3d
The Geometry3D library contains procedural abstractions which are useful in modeling the physical interactions between various 3 dimensional objects.
Geometry3D() - Constructor for class physics3d.Geometry3D
 
Geometry3D(double, int) - Constructor for class physics3d.Geometry3D
 
getAbsorberShape(int, int, int) - Static method in class physics3d.Shape
 
getAllDownKeys() - Method in class components.KeyRegistry
get all down key presses that are listened for
getAllUpKeys() - Method in class components.KeyRegistry
get all up key presses that are listened for
getAngle() - Method in class swingui.AngleSelect
get the angle
getAngularVelocity() - Method in class components.Flipper
 
getBalls() - Method in class components.GameSpace
Returns just the balls
getBallShape() - Static method in class physics3d.Shape
 
getBasicPropertyMap(Map<String, String>) - Method in class components.Absorber
 
getBasicPropertyMap(Map<String, String>) - Method in class components.Ball
 
getBasicPropertyMap(Map<String, String>) - Method in class components.CircleBumper
 
getBasicPropertyMap(Map<String, String>) - Method in class components.GameObject
changes the map to represent the values of this GameObject required by the xml spec
getBasicPropertyMap(Map<String, String>) - Method in class components.LeftFlipper
 
getBasicPropertyMap(Map<String, String>) - Method in class components.RightFlipper
 
getBasicPropertyMap(Map<String, String>) - Method in class components.SquareBumper
 
getBasicPropertyMap(Map<String, String>) - Method in class components.TriangleBumper
 
getBottomCenter() - Method in class physics3d.LateralCylinder
 
getBound() - Method in class physics3d.Shape
 
getBounds() - Method in class components.GameObject
 
getBRB() - Method in class components.Absorber
the bottom-right-back corner of this absorber
getByName(String) - Method in class components.GameSpace
 
getCanvas() - Method in class swingui.MainGUI
 
getCenter() - Method in class components.GameObject
get the center of rotation of the object
getCenter() - Method in class physics3d.PlaneCircle
 
getCenter() - Method in class physics3d.Sphere
 
getCenterPoint() - Method in class physics3d.Torus
 
getCirBumperShape() - Static method in class physics3d.Shape
 
getCoRef() - Method in class components.GameObject
 
getCurrentListener() - Method in class swingui.MainGUI
 
getCuteTex() - Static method in class rendering.Textures
 
getDefaultTex() - Static method in class rendering.Textures
 
getDelay() - Method in class components.GameObject
 
getDepth() - Method in class components.GameObject
 
getDetailPanel() - Method in class swingui.MainGUI
 
getDiff() - Method in class components.Ball
in order for the ball to be in the middle of a grid, the center is offset by .5 from the tlf on the z axis
getDiff() - Method in class components.Flipper
 
getDiff() - Method in class components.GameObject
Difference between TLF and center.
getDiff() - Method in class components.LeftFlipper
for flippers, diff depends on orientation
getDiff() - Method in class components.RightFlipper
 
getDiff() - Method in class components.Wall
 
getDirection() - Method in class physics3d.LateralCylinder
 
getDirection() - Method in class physics3d.Line
 
getDown(int) - Method in class components.KeyRegistry
 
getDowns(GameObject) - Method in class components.KeyRegistry
 
getFile(String) - Static method in class swingui.MainGUI
used to get a relative URL using ClassLoader...
getFlipperShape() - Static method in class physics3d.Shape
 
getFPS() - Method in class components.GameSettings
 
getGameSpace() - Method in class components.GameObject
 
getGameSpace() - Method in class rendering.Renderer
 
getGameSpace() - Method in class swingui.MainGUI
 
getGOClassification() - Method in class components.Absorber
 
getGOClassification() - Method in class components.Ball
 
getGOClassification() - Method in class components.CircleBumper
 
getGOClassification() - Method in class components.Flipper
 
getGOClassification() - Method in class components.GameObject
Requires that all obejects return their own classification
getGOClassification() - Method in class components.LeftFlipper
 
getGOClassification() - Method in class components.RightFlipper
 
getGOClassification() - Method in class components.SquareBumper
 
getGOClassification() - Method in class components.TriangleBumper
 
getGOClassification() - Method in class components.Wall
 
getGravity() - Method in class components.GameSettings
 
getGridLocation(int, int) - Method in class swingui.MainGUI
 
getHeight() - Method in class components.GameObject
 
getListener() - Method in class components.GameSpace
 
getMaximumForesight() - Method in class physics3d.Geometry3D
 
getMu() - Method in class components.GameSettings
 
getMu2() - Method in class components.GameSettings
 
getName() - Method in class components.GameObject
 
getName() - Method in class swingui.AbsorberPanel
name of this panel
getName() - Method in class swingui.AngleSelect
get the name of this selection
getName() - Method in class swingui.DelayPanel
the name of this panel, for JTabbedPane
getName() - Method in class swingui.OrientationPanel
 
getName() - Method in class swingui.TargetPanel
 
getName() - Method in class swingui.TriggerPanel
 
getName() - Method in class swingui.VelocityPanel
 
getNaturalTex() - Static method in class rendering.Textures
 
getNonRoundedTLF() - Method in class components.GameObject
gets the top-left-front corner, no rounding
getNormal() - Method in class physics3d.Plane
 
getNormal() - Method in class physics3d.PlaneCircle
 
getNormal() - Method in class physics3d.PlanePolygon
 
getNumSubIntervals() - Method in class physics3d.Geometry3D
 
getObject() - Method in class components.Absorber
the object held by the absorber
getObjectByGrid(Vect3) - Method in class components.GameSpace
 
getObjectInGrid(Vect3) - Method in class swingui.MainGUI
get a gameobject in the given gridlocation.
getObjects() - Method in class components.GameSpace
 
getObjectsBut(GameObjectClassification) - Method in class components.GameSpace
 
getObjectsNoWalls() - Method in class components.GameSpace
 
getOccupiedPositions() - Method in class components.Absorber
 
getOccupiedPositions() - Method in class components.Ball
 
getOccupiedPositions() - Method in class components.CircleBumper
 
getOccupiedPositions() - Method in class components.Flipper
 
getOccupiedPositions() - Method in class components.GameObject
 
getOccupiedPositions() - Method in class components.SquareBumper
 
getOccupiedPositions() - Method in class components.TriangleBumper
 
getOccupiedPositions() - Method in class components.Wall
 
getOrientAngle() - Method in class components.Flipper
 
getOrientAngle() - Method in class components.GameObject
 
getOrientation() - Method in class physics3d.Torus
 
getOrientVector() - Method in class components.GameObject
 
getParts() - Method in class physics3d.Shape
 
getPointOnLine() - Method in class physics3d.Line
 
getPointOnLineClosestToP(Vect3) - Method in class physics3d.Line
 
getPointOnPlane() - Method in class physics3d.Plane
 
getRadius() - Method in class physics3d.LateralCylinder
 
getRadius() - Method in class physics3d.PlaneCircle
 
getRadius() - Method in class physics3d.Sphere
 
getRadiusFromCenter() - Method in class physics3d.Torus
 
getRadiusOfTube() - Method in class physics3d.Torus
 
getRegistry() - Method in class components.GameSpace
return the key registry
getRenderer() - Method in class swingui.MainGUI
 
getRoundedTLF() - Method in class components.GameObject
convenience method -- getTLF() is rounded
getSelected() - Method in class swingui.AddPanel
the selected object, before he disaooered
getSettings() - Method in class components.GameSpace
 
getShape() - Method in class components.GameObject
 
getShapeClassification() - Method in class physics3d.LateralCylinder
 
getShapeClassification() - Method in interface physics3d.PhysicsShape
 
getShapeClassification() - Method in class physics3d.PlaneCircle
 
getShapeClassification() - Method in class physics3d.PlanePolygon
 
getShapeClassification() - Method in class physics3d.Sphere
 
getShapeClassification() - Method in class physics3d.Torus
 
getSqBumperShape() - Static method in class physics3d.Shape
 
getStream(String) - Static method in class swingui.MainGUI
get a relative url as an inputstream, using classloader...
getTargets() - Method in class components.GameObject
 
getTexLocations() - Method in class components.GameSpace
 
getTexture() - Method in class physics3d.LateralCylinder
 
getTexture() - Method in class physics3d.PlaneCircle
 
getTexture() - Method in class physics3d.PlanePolygon
 
getTexture() - Method in class physics3d.Sphere
 
getTexture() - Method in class physics3d.Torus
 
getTLF() - Method in class components.Ball
balls have the same center and tlf, so don't do that thar rounding thing
getTLF() - Method in class components.GameObject
gets the top-left-front corner, rounded for double precision things
getTopCenter() - Method in class physics3d.LateralCylinder
 
getTriBumperShape() - Static method in class physics3d.Shape
 
getUp(int) - Method in class components.KeyRegistry
 
getUps(GameObject) - Method in class components.KeyRegistry
 
getVelocity() - Method in class components.GameObject
 
getVertices() - Method in class physics3d.PlanePolygon
 
getWallShape(int, int) - Static method in class physics3d.Shape
 
getWidth() - Method in class components.GameObject
 
getXMLName() - Method in enum components.GameObjectClassification
Returns the xmlname for this object
glu - Variable in class rendering.ShapeRenderer
 

H

HALF_L - Static variable in class physics3d.GameConstants
 
hashCode() - Method in class components.GameObject
 
hashCode() - Method in class physics3d.Angle
 
hashCode() - Method in class physics3d.Vect3
 
hashCode() - Method in class physics3d.Vect3Pair
 
height - Variable in class components.GameObject
 
hold(GameObject) - Method in class components.Absorber
hold on to the given projectile

I

init(GLAutoDrawable) - Method in class rendering.Renderer
performs one-time OpenGL initalization (non-Javadoc)
instance() - Static method in class swingui.MainGUI
singleton of main GUI window/frame, use instance() to get it
isAbout(Vect3) - Method in class physics3d.Vect3
 
isAbout(double, double) - Static method in class physics3d.Vect3
 
isBuildMode() - Method in class swingui.MainGUI
 
isFrozen() - Method in class components.GameObject
 
isFull() - Method in class components.Absorber
true if the absorber is already holding something
isSelected() - Method in class components.GameObject
 
isVisible() - Method in class components.GameObject
 
itemStateChanged(ItemEvent) - Method in class swingui.OrientationPanel
when the user selects a different orientation, change that of the object

K

keyPressed(KeyEvent) - Method in class components.GameSpace
 
keyPressed(KeyEvent) - Method in class staffui.MagicKeyListener
 
keyPressed(KeyEvent) - Method in class swingui.AddKeyWindow
when a key is pressed, update the textfields
KeyRegistry - Class in components
KeyRegistry is a mutable object that stores the key triggers that the game should respond to.
KeyRegistry() - Constructor for class components.KeyRegistry
 
keyReleased(KeyEvent) - Method in class components.GameSpace
 
keyReleased(KeyEvent) - Method in class staffui.MagicKeyListener
 
keyReleased(KeyEvent) - Method in class swingui.AddKeyWindow
 
keyTyped(KeyEvent) - Method in class components.GameSpace
 
keyTyped(KeyEvent) - Method in class staffui.MagicKeyListener
 
keyTyped(KeyEvent) - Method in class swingui.AddKeyWindow
 

L

L - Static variable in class physics3d.GameConstants
 
LateralCylinder - Class in physics3d
LateralCylinder represents the lateral part of a cylinder in 3 space
LateralCylinder(double, Vect3, Vect3, String) - Constructor for class physics3d.LateralCylinder
 
LateralCylinder(double, Vect3, Vect3) - Constructor for class physics3d.LateralCylinder
 
LeftFlipper - Class in components
A LeftFlipper extends Flipper, and flips in the left direction.
LeftFlipper(Map<String, String>, GameSpace) - Constructor for class components.LeftFlipper
 
LeftFlipperFactory - Class in components
LeftFlipperFactory is an immutable object that creates left oriented Flippers and extends GameObjectFactory
LeftFlipperFactory() - Constructor for class components.LeftFlipperFactory
 
Line - Class in physics3d
 
Line(Vect3, Vect3) - Constructor for class physics3d.Line
 
loadObject(GameObjectClassification, Map<String, String>) - Method in class components.GameSpace
 
loadSettings(GameSettings) - Method in class components.GameSpace
 
LOOPS - Variable in class rendering.ShapeRenderer
 

M

MagicKeyListener - Class in staffui
A MagicKeyListener is decorator for a KeyListener.
MagicKeyListener(KeyListener) - Constructor for class staffui.MagicKeyListener
 
MagicKeyListener(KeyListener, boolean) - Constructor for class staffui.MagicKeyListener
 
main(String[]) - Static method in class swingui.MainGUI
the main entry point for the application
main(String[]) - Static method in class test.BouncingOffWalls
 
main(String[]) - Static method in class test.RotatingGizmo
 
main(String[]) - Static method in class test.WallTest
 
MainGUI - Class in swingui
 
MakeLineFromTwoPoints(Vect3, Vect3) - Static method in class physics3d.Line
 
MakePlaneFromThreePoints(Vect3, Vect3, Vect3) - Static method in class physics3d.Plane
 
maximumForesight - Variable in class physics3d.Geometry3D
 
minDistanceToObjectFromP(Vect3) - Method in class physics3d.LateralCylinder
 
minDistanceToObjectFromP(Vect3) - Method in interface physics3d.PhysicsShape
 
minDistanceToObjectFromP(Vect3) - Method in class physics3d.PlaneCircle
 
minDistanceToObjectFromP(Vect3) - Method in class physics3d.PlanePolygon
 
minDistanceToObjectFromP(Vect3) - Method in class physics3d.Sphere
 
minDistanceToObjectFromP(Vect3) - Method in class physics3d.Torus
 
minQuadraticSolution(double, double, double) - Method in class physics3d.Geometry3D
 
minus(Angle) - Method in class physics3d.Angle
 
minus(Vect3) - Method in class physics3d.Vect3
 
mkl - Variable in class components.GameSpace
 
ModePanel - Class in swingui
The ModePanel contains a Play/Pause button that allows the user to toggle between build and play modes.
ModePanel(MainGUI) - Constructor for class swingui.ModePanel
Create a ModePanel, initialize in pause/build mode
moveBall(Ball) - Static method in class physics3d.GamePhysics
Move the given ball.
moveBall(Ball) - Static method in class physics3d.OldGamePhysics
Move the given ball.

N

name - Variable in class components.GameObject
 
neg() - Method in class physics3d.Vect3
 
newInstance(Map<String, String>, GameSpace) - Method in class components.AbsorberFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.BallFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.CircleFactory
 
newInstance(Map<String, String>, GameSpace) - Method in enum components.GameObjectClassification
Returns a GameObject with properties p that match this enum's value
newInstance(Map<String, String>, GameSpace) - Method in class components.GameObjectFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.LeftFlipperFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.RightFlipperFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.SquareFactory
 
newInstance(Map<String, String>, GameSpace) - Method in class components.TriangleFactory
 
nextShape(Ball, List<GameObject>, double, List<GameObject>) - Static method in class physics3d.OldGamePhysics
Return the closest PhysicsShape that this ball will collide with in the next timeleft seconds.
ninety - Static variable in class swingui.AngleSelect
NINETY degrees
numSubIntervals - Variable in class physics3d.Geometry3D
 

O

object() - Method in class physics3d.Collision
get the object of the collision
OldGamePhysics - Class in physics3d
OldGamePhysics is an immutable class with static methods that does physics calculations.
OldGamePhysics() - Constructor for class physics3d.OldGamePhysics
 
onCollision(GameObject) - Method in class components.Absorber
 
onCollision(GameObject) - Method in class components.GameObject
 
one_eighty - Static variable in class swingui.AngleSelect
180 degrees
orientAngle - Variable in class components.GameObject
 
OrientationPanel - Class in swingui
The OrientationPanel contains a JComboBox that allows the user to change the orientation of the given component.
OrientationPanel() - Constructor for class swingui.OrientationPanel
create a default OrientationPanel with nothing selected
orientVect - Variable in class components.GameObject
 

P

pause() - Method in class swingui.MainGUI
what to do when we switch from play to build mode: - restore last build-mode state - notify panels
perpDistanceFromPlaneToPoint(Vect3) - Method in class physics3d.Plane
 
perpVectorFromPlaneToPoint(Vect3) - Method in class physics3d.Plane
 
phi() - Method in class physics3d.Vect3
 
physics3d - package physics3d
 
PhysicsShape - Interface in physics3d
PhysicsShape categorizes the 3 dimensional shape classes given in the physics3d package
Plane - Class in physics3d
 
Plane(Vect3, Vect3) - Constructor for class physics3d.Plane
 
PlaneCircle - Class in physics3d
PlaneCircle represents a plane circle in 3 space
PlaneCircle(Vect3, Vect3, double, String) - Constructor for class physics3d.PlaneCircle
 
PlaneCircle(Vect3, Vect3, double) - Constructor for class physics3d.PlaneCircle
 
planeContainingObject() - Method in class physics3d.PlaneCircle
 
planeContainingObject() - Method in class physics3d.PlanePolygon
 
PlanePolygon - Class in physics3d
PlanePolygon represents a plane polygon in 3 space
PlanePolygon(List<Vect3>, String) - Constructor for class physics3d.PlanePolygon
 
PlanePolygon(List<Vect3>) - Constructor for class physics3d.PlanePolygon
 
play() - Method in class swingui.MainGUI
what do to when we switch to play mode: - notify each panel - unselect things from build mode - focus/display
plus(Angle) - Method in class physics3d.Angle
 
plus(Vect3) - Method in class physics3d.Vect3
 
pointWherePlaneIntersectsLine(Plane, Line) - Method in class physics3d.Geometry3D
METHODS FOR STATIONARY OBJECTS
projectOnToB(Vect3) - Method in class physics3d.Vect3
Returns the projection of this onto b
putInVect3(Vect3, Map<String, String>, String, boolean) - Static method in class components.GameObject
Given a property map, a vector, and a string, adds the keys x + title, y + title, and z + title with the corresponding values from v, to m
putInVect3(Vect3, Map<String, String>, String) - Static method in class components.GameObject
Convience overload of putInVect3, this prevents rounding

R

RAD_PI - Static variable in class physics3d.Angle
An angle of pi radians
RAD_PI_OVER_FOUR - Static variable in class physics3d.Angle
An angle of pi/4 radians
RAD_PI_OVER_TWO - Static variable in class physics3d.Angle
An angle of pi/2 radians
radians() - Method in class physics3d.Angle
 
randomName() - Static method in class swingui.AddPanel
 
readXMLFile(String) - Method in class components.XMLReader
Given a valid XML file returns a GameSpace that contains everything.
reflect(PhysicsShape, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
convenience method: calls the appropriate reflect method
reflectLateralCylinder(LateralCylinder, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a lateral cylinder.
reflectLateralCylinder(LateralCylinder, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a lateral cylinder.
reflectPlaneCircle(PlaneCircle, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a plane circle.
reflectPlaneCircle(PlaneCircle, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a plane circle.
reflectPlanePolygon(PlanePolygon, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a plane polygon.
reflectPlanePolygon(PlanePolygon, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a plane polygon.
reflectRotating(PhysicsShape, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
convenience method: calls the appropriate reflect method
reflectRotatingLateralCylinder(LateralCylinder, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating lateral cylinder.
reflectRotatingLateralCylinder(LateralCylinder, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating lateral cylinder.
reflectRotatingPlaneCircle(PlaneCircle, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating plane circle.
reflectRotatingPlaneCircle(PlaneCircle, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating plane circle.
reflectRotatingPlanePolygon(PlanePolygon, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating plane polygon.
reflectRotatingPlanePolygon(PlanePolygon, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating plane polygon.
reflectRotatingSphere(Sphere, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating sphere.
reflectRotatingSphere(Sphere, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating sphere.
reflectRotatingTorus(Torus, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating torus.
reflectRotatingTorus(Torus, Vect3, Vect3, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a sphere reflected off of a rotating torus.
reflectSphere(Sphere, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a sphere.
reflectSphere(Sphere, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a sphere.
reflectSpheres(Sphere, double, Vect3, Sphere, double, Vect3) - Method in class physics3d.Geometry3D
Computes the resulting velocities of two spheres which collide.
reflectTorus(Torus, Sphere, Vect3, double) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a torus.
reflectTorus(Torus, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the new velocity of a ball reflecting off of a torus.
registerDown(int, GameObject) - Method in class components.KeyRegistry
 
registerUp(int, GameObject) - Method in class components.KeyRegistry
 
remove(int, boolean, GameObject) - Method in class components.KeyRegistry
remove the specified key press from the registry
removeObject(GameObject) - Method in class components.GameSpace
 
removeTarget(GameObject) - Method in class components.GameObject
 
Renderer - Class in rendering
Renderer is an immutable object that Renders the GameSpace.
Renderer(GameSpace) - Constructor for class rendering.Renderer
 
rendering - package rendering
 
reshape(GLAutoDrawable, int, int, int, int) - Method in class rendering.Renderer
method required by GLEventListener interface
rho() - Method in class physics3d.Vect3
 
RightFlipper - Class in components
A RightFlipper extends Flipper, and flips in the left direction.
RightFlipper(Map<String, String>, GameSpace) - Constructor for class components.RightFlipper
 
RightFlipperFactory - Class in components
A RightFlipperFactory is an immutable class that creates right oriented Flipper and extends GameObjectFactory
RightFlipperFactory() - Constructor for class components.RightFlipperFactory
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in class physics3d.LateralCylinder
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in interface physics3d.PhysicsShape
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in class physics3d.PlaneCircle
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in class physics3d.PlanePolygon
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in class physics3d.Sphere
 
rotateAboutCwithAxisAandAngleT(Vect3, Vect3, Angle) - Method in class physics3d.Torus
 
rotateAroundVect(Vect3, Angle) - Method in class physics3d.Vect3
 
RotatingGizmo - Class in test
 
RotatingGizmo() - Constructor for class test.RotatingGizmo
 
roundToNearest100(double) - Static method in class physics3d.Vect3
 
run() - Method in class swingui.MainGUI
what to do at first
run() - Method in class test.BouncingOffWalls
 
run() - Method in class test.RotatingGizmo
 
run() - Method in class test.WallTest
 

S

selected - Variable in class components.GameObject
 
serialVersionUID - Static variable in class swingui.AddPanel
 
set(double, GameObject, PhysicsShape) - Method in class physics3d.Collision
set properties of collision
setBuildMode() - Method in class swingui.ModePanel
Set the mode panel to be in build mode
setCenter(Vect3) - Method in class components.GameObject
 
setCoRef(double) - Method in class components.GameObject
 
setCurrentListener(MouseListener) - Method in class swingui.MainGUI
 
setDelay(int) - Method in class components.GameObject
 
setDepth(int) - Method in class components.GameObject
 
setForesightAndSubintervals(double, int) - Method in class physics3d.Geometry3D
Modifies the behavior of this class to use the specified maximumForesight & numSubIntervals.
setFPS(int) - Method in class components.GameSettings
 
setFrozen(boolean) - Method in class components.GameObject
 
setGameSpace(GameSpace) - Method in class rendering.Renderer
 
setGameSpace(GameSpace) - Method in class swingui.MainGUI
 
setGravity(Vect3) - Method in class components.GameSettings
 
setHeight(int) - Method in class components.GameObject
 
setMu(double) - Method in class components.GameSettings
 
setMu2(double) - Method in class components.GameSettings
 
setObject(GameObject) - Method in class swingui.AbsorberPanel
set the object (absorber) for this panel
setObject(GameObject) - Method in class swingui.DelayPanel
set the object whose delay we are modifying
setObject(GameObject) - Method in class swingui.OrientationPanel
change the object that we are displaying info about
setObject(GameObject) - Method in class swingui.TargetPanel
set the object whose targets we are inspecting
setObject(GameObject) - Method in class swingui.TriggerPanel
change the object abotu which we are displaying info
setObject(GameObject) - Method in class swingui.VelocityPanel
set the object of interest
setOrientAngle(Angle) - Method in class components.GameObject
 
setOrientVect(Vect3) - Method in class components.GameObject
 
setPlayMode(boolean) - Method in class rendering.Renderer
 
setPlayMode() - Method in class swingui.ModePanel
Set the mode panel to be in play mode
setProperty(String, String) - Method in class components.GameObject
 
setSelected(boolean) - Method in class components.GameObject
 
setSelected(GameObject) - Method in class swingui.AddPanel
change the text on that emo-boy part
setTexLocations(Map<GameObjectClassification, String>) - Method in class components.GameSpace
 
setTLF(Vect3) - Method in class components.GameObject
Set the top-left-front corner of the object
setUp() - Method in class test.TestBall
 
setUp() - Method in class test.TestGamePhysics
 
setUp() - Method in class test.TestGameSpace
 
setUp() - Method in class test.TestGetOccupiedPositions
 
setUp() - Method in class test.TestGO
 
setUp() - Method in class test.TestSquareBumper
 
setUp() - Method in class test.TestTriangleBumper
 
setVelocity(Vect3) - Method in class components.GameObject
 
setVisible(boolean) - Method in class components.GameObject
 
setWidth(int) - Method in class components.GameObject
 
shape() - Method in class components.Absorber
 
shape() - Method in class components.Ball
 
shape() - Method in class components.CircleBumper
 
shape() - Method in class components.Flipper
 
shape - Variable in class components.GameObject
 
shape() - Method in class components.GameObject
the Shape of the object
shape() - Method in class components.SquareBumper
 
shape() - Method in class components.TriangleBumper
 
shape() - Method in class components.Wall
 
shape() - Method in class physics3d.Collision
 
Shape - Class in physics3d
Shape is a immutable class that describes the bounding area, and 3d shape of a GameObject
ShapeClassification - Enum in physics3d
ShapeClassification is a tag that describes a PhysicsShape
ShapeRenderer - Class in rendering
 
ShapeRenderer() - Constructor for class rendering.ShapeRenderer
 
sin() - Method in class physics3d.Angle
 
SLICES - Variable in class rendering.ShapeRenderer
 
SpecificationTests - Class in test
SpecificationTests is a simple TestSuite that includes and runs all the tests in RatNumTest, RatPolyTest, and RatPolyStackTest.
SpecificationTests() - Constructor for class test.SpecificationTests
 
SpecificationTests(String) - Constructor for class test.SpecificationTests
 
Sphere - Class in physics3d
Sphere represents a sphere in 3 space
Sphere(Vect3, double, String) - Constructor for class physics3d.Sphere
 
Sphere(Vect3, double) - Constructor for class physics3d.Sphere
 
Sphere(double, double, double, double, String) - Constructor for class physics3d.Sphere
 
SquareBumper - Class in components
a SquareBumper is a mutable object that represents a cube shaped bumper.
SquareBumper(Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.SquareBumper
 
SquareBumper(Vect3, String, GameSpace) - Constructor for class components.SquareBumper
 
SquareBumper(Map<String, String>, GameSpace) - Constructor for class components.SquareBumper
 
SquareFactory - Class in components
a SquareFactory is an immutable object that creates cube-shaped bumpers and extends GameObjectFactory
SquareFactory() - Constructor for class components.SquareFactory
 
STACKS - Variable in class rendering.ShapeRenderer
 
staffui - package staffui
 
start() - Method in class components.TimeProfiler
Starts the timer
start() - Method in class test.TimeProfiler
Starts the timer
startElement(String, String, String, Attributes) - Method in class components.XMLReader
Reads the title of an XMLtag and determines the appropiate objects to add to gamespace, or the appropriate settings to modify.
stateChanged(ChangeEvent) - Method in class swingui.DelayPanel
when slider is moved, change delay on selected obj
stats() - Method in class components.TimeProfiler
returns a formatted String with stats on slowest start-stop time, fastest start-stop time, average time, total records, and aggregate time
stats() - Method in class test.TimeProfiler
returns a formatted String with stats on slowest start-stop time, fastest start-stop time, average time, total records, and aggregate time
stepFrame() - Method in class components.Ball
 
stepFrame() - Method in class components.Flipper
 
stepFrame() - Method in class components.GameObject
This is overriden in mobile objects
stepFrame() - Method in class components.GameSpace
 
stop() - Method in class components.TimeProfiler
Stops the timer and records the data.
stop() - Method in class test.TimeProfiler
Stops the timer and records the data.
suite() - Static method in class test.SpecificationTests
 
swingui - package swingui
 

T

tan() - Method in class physics3d.Angle
 
TargetPanel - Class in swingui
 
TargetPanel(MainGUI) - Constructor for class swingui.TargetPanel
 
targets - Variable in class components.GameObject
 
tearDown() - Method in class test.TestGamePhysics
 
test - package test
 
testAddFixed() - Method in class test.TestGameSpace
 
testAddMobile() - Method in class test.TestGameSpace
 
testB1() - Method in class test.TestGetOccupiedPositions
 
TestBall - Class in test
 
TestBall(String) - Constructor for class test.TestBall
 
TestCircleBumper - Class in test
 
TestCircleBumper(String) - Constructor for class test.TestCircleBumper
 
testCollideWithBoundNotEmpty() - Method in class test.TestGamePhysics
test whether it detects about-to-collide stuff using bound check
testCreation() - Method in class test.TestBall
 
testCreation() - Method in class test.TestCircleBumper
 
testCreation(GameSettings) - Method in class test.TestGameSpace
 
testCreation() - Method in class test.TestSquareBumper
 
testCreation() - Method in class test.TestTriangleBumper
 
testCreation2() - Method in class test.TestBall
 
testCreation2() - Method in class test.TestCircleBumper
 
testCreation2() - Method in class test.TestSquareBumper
 
testCreation2() - Method in class test.TestTriangleBumper
 
testEquals() - Method in class test.TestBall
 
testEquals() - Method in class test.TestCircleBumper
 
testEquals() - Method in class test.TestSquareBumper
 
testEquals() - Method in class test.TestTriangleBumper
 
testEquals2() - Method in class test.TestBall
 
testEquals2() - Method in class test.TestCircleBumper
 
testEquals2() - Method in class test.TestSquareBumper
 
testEquals2() - Method in class test.TestTriangleBumper
 
TestGamePhysics - Class in test
 
TestGamePhysics(String) - Constructor for class test.TestGamePhysics
 
TestGameSpace - Class in test
 
TestGameSpace(String) - Constructor for class test.TestGameSpace
 
testGetObject2() - Method in class test.TestGameSpace
 
testGetObjects1() - Method in class test.TestGameSpace
 
TestGetOccupiedPositions - Class in test
 
TestGetOccupiedPositions(String) - Constructor for class test.TestGetOccupiedPositions
 
TestGO - Class in test
 
TestGO(String) - Constructor for class test.TestGO
 
testGOC() - Method in class test.TestGO
 
testMoveBallBounce() - Method in class test.TestGamePhysics
test whether the ball collides with the square bumper
testMoveBallFallingNoDrag() - Method in class test.TestGamePhysics
test a ball that should fall down (y-direction)
testMoveBallFloating() - Method in class test.TestGamePhysics
test a ball that should simply float in space
testName() - Method in class test.TestBall
 
testName() - Method in class test.TestCircleBumper
 
testName() - Method in class test.TestSquareBumper
 
testName() - Method in class test.TestTriangleBumper
 
testName2() - Method in class test.TestBall
 
testNotEquals() - Method in class test.TestBall
 
testNotEquals() - Method in class test.TestCircleBumper
 
testNotEquals() - Method in class test.TestSquareBumper
 
testNotEquals() - Method in class test.TestTriangleBumper
 
testNotEquals2() - Method in class test.TestBall
 
testNotEquals2() - Method in class test.TestCircleBumper
 
testNotEquals2() - Method in class test.TestSquareBumper
 
testNotEquals2() - Method in class test.TestTriangleBumper
 
testOrientAngle() - Method in class test.TestCircleBumper
 
testOrientAngle() - Method in class test.TestSquareBumper
 
testOrientAngle() - Method in class test.TestTriangleBumper
 
testOrientAngle2() - Method in class test.TestCircleBumper
 
testOrientAngle2() - Method in class test.TestSquareBumper
 
testOrientAngle2() - Method in class test.TestTriangleBumper
 
testOrientVect() - Method in class test.TestCircleBumper
 
testOrientVect() - Method in class test.TestSquareBumper
 
testOrientVect() - Method in class test.TestTriangleBumper
 
testOrientVect2() - Method in class test.TestCircleBumper
 
testOrientVect2() - Method in class test.TestSquareBumper
 
testOrientVect2() - Method in class test.TestTriangleBumper
 
testPosition() - Method in class test.TestBall
 
testPosition() - Method in class test.TestCircleBumper
 
testPosition() - Method in class test.TestSquareBumper
 
testPosition() - Method in class test.TestTriangleBumper
 
testPosition2() - Method in class test.TestBall
 
testPosition2() - Method in class test.TestCircleBumper
 
testPosition2() - Method in class test.TestSquareBumper
 
testPosition2() - Method in class test.TestTriangleBumper
 
testRF1() - Method in class test.TestGetOccupiedPositions
 
testShape() - Method in class test.TestBall
 
testShape() - Method in class test.TestCircleBumper
 
testShape() - Method in class test.TestSquareBumper
 
testShape() - Method in class test.TestTriangleBumper
 
testShape2() - Method in class test.TestBall
 
testShape2() - Method in class test.TestCircleBumper
 
testShape2() - Method in class test.TestSquareBumper
 
testShape2() - Method in class test.TestTriangleBumper
 
TestSquareBumper - Class in test
 
TestSquareBumper(String) - Constructor for class test.TestSquareBumper
 
TestTriangleBumper - Class in test
 
TestTriangleBumper(String) - Constructor for class test.TestTriangleBumper
 
testVelocity() - Method in class test.TestBall
 
testVelocity() - Method in class test.TestCircleBumper
 
testVelocity() - Method in class test.TestSquareBumper
 
testVelocity() - Method in class test.TestTriangleBumper
 
testVelocity2() - Method in class test.TestBall
 
testVelocity2() - Method in class test.TestCircleBumper
 
testVelocity2() - Method in class test.TestSquareBumper
 
testVelocity2() - Method in class test.TestTriangleBumper
 
testWillCollideWithBoundEmpty() - Method in class test.TestGamePhysics
test whether willCollideWithBound works in an empty gs
Textures - Class in rendering
Textures is an immutable class that stores mappings of gizmo type and image locations
Textures() - Constructor for class rendering.Textures
 
theta() - Method in class physics3d.Vect3
 
time() - Method in class physics3d.Collision
 
TimeProfiler - Class in components
TimeProfiler objects allow a programmer to profile the running time of his or her code.
TimeProfiler() - Constructor for class components.TimeProfiler
 
TimeProfiler(String) - Constructor for class components.TimeProfiler
 
TimeProfiler - Class in test
TimeProfiler objects allow a programmer to profile the running time of his or her code.
TimeProfiler() - Constructor for class test.TimeProfiler
 
TimeProfiler(String) - Constructor for class test.TimeProfiler
 
times(double) - Method in class physics3d.Vect3
 
timeUntilCollision(PhysicsShape, Sphere, Vect3) - Method in class physics3d.Geometry3D
convenience method: calls the appropriate timeUntilCollision method
timeUntilLateralCylinderCollision(LateralCylinder, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball represented by a sphere, travelling at a specified velocity collides with a specified lateral cylinder.
timeUntilPlaneCircleCollision(PlaneCircle, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball represented by a sphere, travelling at a specified velocity collides with a specified plane circle.
timeUntilPlanePolygonCollision(PlanePolygon, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball represented by a sphere, travelling at a specified velocity collides with a specified plane polygon.
timeUntilRotatingCollision(PhysicsShape, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
 
timeUntilRotatingLateralCylinderCollision(LateralCylinder, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball travelling at a specified velocity collides with a rotating lateral cylinder.
timeUntilRotatingPlaneCircleCollision(PlaneCircle, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball travelling at a specified velocity collides with a rotating plane circle.
timeUntilRotatingPlanePolygonCollision(PlanePolygon, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball travelling at a specified velocity collides with a rotating plane polygon.
timeUntilRotatingSphereCollision(Sphere, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball travelling at a specified velocity collides with a rotating sphere.
timeUntilRotatingTorusCollision(Torus, Vect3, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball travelling at a specified velocity collides with a rotating torus.
timeUntilSphereCollision(Sphere, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball represented by a sphere, travelling at a specified velocity collides with a specified sphere.
timeUntilSphereSphereCollision(Sphere, Vect3, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until two spheres collide.
timeUntilTorusCollision(Torus, Sphere, Vect3) - Method in class physics3d.Geometry3D
Computes the time until a ball represented by a sphere, travelling at a specified velocity collides with a specified torus.
TOLERANCE - Static variable in class physics3d.GameConstants
 
Torus - Class in physics3d
Torus represents a torus in 3 space
Torus(Vect3, Vect3, double, double, String) - Constructor for class physics3d.Torus
 
Torus(Vect3, Vect3, double, double) - Constructor for class physics3d.Torus
 
toString() - Method in class components.GameObject
string representation of this object.
toString() - Method in class components.TimeProfiler
 
toString() - Method in class physics3d.Angle
 
toString() - Method in class physics3d.Collision
 
toString() - Method in class physics3d.LateralCylinder
 
toString() - Method in class physics3d.PlaneCircle
 
toString() - Method in class physics3d.PlanePolygon
 
toString() - Method in class physics3d.Sphere
 
toString() - Method in class physics3d.Torus
 
toString() - Method in class physics3d.Vect3
 
toString() - Method in class physics3d.Vect3Pair
 
toString() - Method in class swingui.AngleSelect
 
toString() - Method in class test.TimeProfiler
 
translateByT(Vect3) - Method in class physics3d.LateralCylinder
 
translateByT(Vect3) - Method in interface physics3d.PhysicsShape
 
translateByT(Vect3) - Method in class physics3d.PlaneCircle
 
translateByT(Vect3) - Method in class physics3d.PlanePolygon
 
translateByT(Vect3) - Method in class physics3d.Sphere
 
translateByT(Vect3) - Method in class physics3d.Torus
 
TriangleBumper - Class in components
a TriangleBumper is a mutable object that represents a cube shaped bumper.
TriangleBumper(Map<String, String>, GameSpace) - Constructor for class components.TriangleBumper
 
TriangleBumper(Vect3, Vect3, Angle, String, GameSpace) - Constructor for class components.TriangleBumper
Constructs new object
TriangleBumper(Vect3, String, GameSpace) - Constructor for class components.TriangleBumper
 
TriangleFactory - Class in components
a SquareFactory is an immutable object that creates cube-shaped bumpers and extends GameObjectFactory
TriangleFactory() - Constructor for class components.TriangleFactory
 
TriggerPanel - Class in swingui
 
TriggerPanel() - Constructor for class swingui.TriggerPanel
 
two_seventy - Static variable in class swingui.AngleSelect
270 degrees

U

unitSize() - Method in class physics3d.Vect3
 
update(GameObject) - Method in class swingui.DetailPanel
update the detail panel UI with information about obj
updateTriggerList() - Method in class swingui.TriggerPanel
update the triggerlist text area

V

v1 - Variable in class physics3d.Vect3Pair
 
v2 - Variable in class physics3d.Vect3Pair
 
valueOf(String) - Static method in enum components.GameObjectClassification
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum physics3d.ShapeClassification
Returns the enum constant of this type with the specified name.
values() - Static method in enum components.GameObjectClassification
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum physics3d.ShapeClassification
Returns an array containing the constants of this enum type, in the order they're declared.
Vect3 - Class in physics3d
Vect3 represents a vector in 3 space
Vect3(Angle, Angle) - Constructor for class physics3d.Vect3
 
Vect3(double, Angle, Angle) - Constructor for class physics3d.Vect3
 
Vect3(double, double, double) - Constructor for class physics3d.Vect3
 
Vect3Pair - Class in physics3d
Vect3Pair is a simple immutable record type representing a pair of Vect3s.
Vect3Pair(Vect3, Vect3) - Constructor for class physics3d.Vect3Pair
Creates a VectPair with v1 and v2 as given
velocity - Variable in class components.GameObject
 
VelocityPanel - Class in swingui
A VelocityPanel allows the user to modify the velocity of a gameobject by directly modifying textfields.
VelocityPanel() - Constructor for class swingui.VelocityPanel
 
visible - Variable in class components.GameObject
 

W

Wall - Class in components
Wall is a mutable object that specifies the outside boundaries of a GameSpace.
Wall(Vect3, int, int, Vect3, Angle, boolean, String, GameSpace) - Constructor for class components.Wall
 
Wall(Map<String, String>, GameSpace) - Constructor for class components.Wall
 
WallTest - Class in test
 
WallTest() - Constructor for class test.WallTest
 
width - Variable in class components.GameObject
 
willCollideWithBound(Ball, Set<GameObject>, double) - Static method in class physics3d.GamePhysics
Returns those GameObjects where the ball will collide with their bounds in the next timeleft seconds.
willCollideWithBound(Ball, Set<GameObject>, double) - Static method in class physics3d.OldGamePhysics
Returns those GameObjects where the ball will collide with their bounds in the next timeleft seconds.
world(PhysicsShape, GameObject) - Static method in class physics3d.GamePhysics
return p in the worldspace of o
world(PhysicsShape, GameObject) - Static method in class physics3d.OldGamePhysics
return p in the worldspace of o
writeMap(Element, Map<String, String>) - Method in class components.XMLWriter
This takes a map, and an element, and writes every key value pair in map as attributes in that element
writeObjects(Element, Set<GameObject>) - Method in class components.XMLWriter
Formats objs for writing to xml
writeXML(File) - Method in class components.GameSpace
Given a file name, will load that files gb xml data in this
writeXML(GameSpace, File) - Method in class components.XMLWriter
This overloads writeXML.
writeXML(GameSpace, String) - Method in class components.XMLWriter
Given a namespace, and a filename, will write the information g to name in XMLFormat and make sure its a valid gb_level schema.

X

x() - Method in class physics3d.Vect3
 
X_HAT - Static variable in class physics3d.Vect3
A unit vector in the positive x direction
XMLReader - Class in components
This class is used to read xml data and load it into a GameSpace.
XMLReader() - Constructor for class components.XMLReader
Constructs a new XMLReader object
XMLWriter - Class in components
XMLWriter is used to take a gamespace and a file or filename, and write the gamespace information to that file.
XMLWriter() - Constructor for class components.XMLWriter
 

Y

y() - Method in class physics3d.Vect3
 
Y_HAT - Static variable in class physics3d.Vect3
A unit vector in the positive y direction

Z

z() - Method in class physics3d.Vect3
 
Z_HAT - Static variable in class physics3d.Vect3
A unit vector in the positive z direction
ZERO - Static variable in class physics3d.Angle
A zero-degree or zero-radian angle
ZERO - Static variable in class physics3d.Vect3
A Vect3 with zero length
zero - Static variable in class swingui.AngleSelect
ZERO degrees
ZeroFinder - Class in physics3d
 
ZeroFinder() - Constructor for class physics3d.ZeroFinder
 
ZeroFinder.Function - Interface in physics3d
ZeroFinder.Function is an interface which specifies a function whose roots can be found by this class.

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