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

A

addFireReticleMenu(Id) - Method in class unc.cdva.renderingengine.gui.UIManager
Display a dialog to let a user fire the gun
addGraphicsEventListener(GraphicsEventListener) - Method in class unc.cdva.gameengine.GameEngine
Registers a graphics event listener.
addGun(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a new gun is added
addGun(Player, PdsBean) - Method in class unc.cdva.gameengine.managers.ItemManager
Adds a gun with the given userId and PdsBean
addGun(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
addListener(T) - Method in class unc.cdva.events.SingleEventSource
Adds a new listener to the listeners variable of this class.
addObject(PdsBean, Object3D) - Method in class unc.cdva.renderingengine.DisplayList
Add an object and its transformations to the display list
addPoint(Vector3f, Vector2f, Vector3f) - Method in class unc.cdva.graphics.models.Face
Add a vertex to the face, with its texture coordinate and it's normal
addProblem(GameEvent, Id) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when a problem is added to the screen
addProblem(GraphicsEvent, Id, Object3D) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a new problem is added
addProblem(GameEvent, Id) - Method in class unc.cdva.gameengine.GameEngine
 
addProblem(Vector3f, Vector3f, Id) - Method in class unc.cdva.gameengine.managers.ProblemManager
Creates a problem object.
addProblem(GraphicsEvent, Id, Object3D) - Method in class unc.cdva.renderingengine.GraphicsManager
 
addProjectile(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a projectile is added
addProjectile(Player, Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Adds a projectile corresponding to the given gun with the given userValue
addProjectile(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
addRangeCar(Player) - Method in class unc.cdva.gameengine.managers.ItemManager
Adds a new rangeCar associated with some player.
addReticle(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a new reticle is added
addReticle(Player, Problem, Vector3f) - Method in class unc.cdva.gameengine.managers.ItemManager
Creates a new reticle and add it to the list
addReticle(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
addReticleMenu(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you add a reticle menu
addReticleMenu(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
Display a dialog to set the user input value for a problem
addTarget(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a target is added
addTarget(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
addToScore(long) - Method in class unc.cdva.gameengine.entities.Player
Increases the players score.
addUIEventListener(UIEventListener) - Method in class unc.cdva.gameengine.GameEngine
Registers a ui event listener object.
addUniformVariable(String, float[]) - Method in class unc.cdva.graphics.models.ShaderProgram
Add a uniform variable to the program
advanceInTime(long) - Method in class unc.cdva.graphics.animations.Animation
Advances the animation.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.AnimatedItem
 
advanceInTime(long) - Method in class unc.cdva.interactiveitems.Gun
If the gun is reloading, then the amount of time until it is done is decreased, if the gun has spent long enough reloading, then it is set back to the ready state.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.MobileItem
Method to indicate the passage of time.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.Projectile
Advances time for the projectile, it will move by a certain distance according to the given time interval.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.RangeCar
Moves the range car, which moves at a certain speed, thus for the amount of time that has elapsed, the rangecar will move the right amount in the direction it is 'facing'.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.Reticle
Advances the reticle in time, essentially the reticles are all frozen after a shot, advancing the reticle in time will get it closer to being unfrozen.
advanceInTime(long) - Method in class unc.cdva.interactiveitems.Target
Advances the target in time, effectively it updates the position of the boat, when the screen is redrawn it will move.
AMBIENT_LIGHT - Static variable in class unc.cdva.utils.Constants
Specifies the ambient lighting values the game lighting.
AnimatedItem - Class in unc.cdva.interactiveitems
Interface for an item that has an animation associated with it.
AnimatedItem() - Constructor for class unc.cdva.interactiveitems.AnimatedItem
 
AnimatedObject - Class in unc.cdva.graphics.models
Represents an object that possesses multiple animations composed of another texture/model couple and of keyframes.
AnimatedObject(StaticListObject, Hashtable<String, Animation>) - Constructor for class unc.cdva.graphics.models.AnimatedObject
Inits an animated object
Animation - Class in unc.cdva.graphics.animations
Represents animations, and is used to actually display animations as well.
Animation() - Constructor for class unc.cdva.graphics.animations.Animation
Default constructor, data is uninitialized.
Animation(String, StaticListObject, Vector<KeyFrame>, boolean, boolean) - Constructor for class unc.cdva.graphics.animations.Animation
Animation constructor, inits an animation object.
assertUnique(Object[]) - Static method in class unc.cdva.testutils.TestingUtil
Tests to see if all of the elements of an array are all mutually unique, ie: that no two elements have the same value.

B

BASE_VECTOR - Static variable in class unc.cdva.utils.Constants
 
BoundingBox - Class in unc.cdva.utils
Implement a simple planar bounding box.
BoundingBox(Vector3f, Vector3f, float, float, float) - Constructor for class unc.cdva.utils.BoundingBox
Create a bounding box using the center of an object, its scaling vector, its standard length, its standard width, and an error factor that increase the size of the box

C

CAMERA_FACING - Static variable in class unc.cdva.utils.Constants
 
cancelProblem(GameEvent, Id) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when a problem is removed from the screen
cancelProblem(GameEvent, Id) - Method in class unc.cdva.gameengine.GameEngine
 
checkHit(Projectile) - Method in class unc.cdva.gameengine.managers.ItemManager
Checks if the given projectile hits any of the targets
clear() - Method in class unc.cdva.renderingengine.DisplayList
Empty the display list
ClickEvent - Class in unc.cdva.events.clickevents
Event triggered when you click on the screens Usually you send that kind of event to the rendering engine to retrieve the world coordinates of a click
ClickEvent(Object, int, int) - Constructor for class unc.cdva.events.clickevents.ClickEvent
Constructor which creates a new EventObject and sets the x and y values of this ClickEvent object
ClickEventListener - Interface in unc.cdva.events.clickevents
Listener interface for the ClickEvents
clone() - Method in class unc.cdva.graphics.animations.Animation
Returns a cloned copy of the animation.
clone() - Method in class unc.cdva.graphics.animations.KeyFrame
Returns a cloned keyframe object.
clone() - Method in class unc.cdva.graphics.animations.TextureAnimation
Create a cloned version of the animation that possess the same value
clone() - Method in class unc.cdva.graphics.models.AnimatedObject
 
clone() - Method in interface unc.cdva.graphics.models.Object3D
Clone the object (copy all the attributes)
clone() - Method in class unc.cdva.graphics.models.RightTriangle
 
clone() - Method in class unc.cdva.graphics.models.StaticListObject
 
clone() - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
compileShader() - Method in class unc.cdva.graphics.models.ShaderProgram
Compile the vertex and fragment program, then link the shader program
computeLengths(String[]) - Method in class unc.cdva.graphics.models.ShaderProgram
Compute the length of the lines of a source code
Constants - Class in unc.cdva.utils
All the hard coded constants used by the game
Constants() - Constructor for class unc.cdva.utils.Constants
 
count(String, String) - Static method in class unc.cdva.testutils.TestingUtil
Counts the number of occurances of a token in a string.
crack() - Method in class unc.cdva.interactiveitems.PathwayEnd
Sets the state of the dam to cracked (one hit)
createAnimatedObject(String, String, Hashtable<String, Animation>, ShaderProgram, GL) - Method in class unc.cdva.graphics.models.Object3DFactory
Instantiate an AnimatedObject
createId() - Static method in class unc.cdva.utils.TaggedObject
Creates a unique id.
createScoreString(long, int) - Method in class unc.cdva.renderingengine.gui.UIManager
Transform a number into a string of the specified length by adding as many 0 before the number
createStaticListObject(String, String, ShaderProgram, GL) - Method in class unc.cdva.graphics.models.Object3DFactory
Instantiate a StaticListObject
createTextureAnimatedObject(String, TextureAnimation, ShaderProgram, GL) - Method in class unc.cdva.graphics.models.Object3DFactory
Instantiate an TextureAnimatedObject

D

DEBUG - Static variable in class unc.cdva.utils.Constants
Flag that indicates if the project is in a developmental phase.
destroy() - Method in class unc.cdva.graphics.models.ShaderProgram
Remove the shader program from the GPU memory
destroy() - Method in class unc.cdva.interactiveitems.PathwayEnd
Sets the state of the dam to destroyed (a terminal state, game should end).
DIFFUSE_LIGHT - Static variable in class unc.cdva.utils.Constants
Specifies the diffuse lighting values the game lighting.
direction - Variable in class unc.cdva.interactiveitems.InteractiveItem
Vector representing the direction of the item.
display(GLAutoDrawable) - Method in class unc.cdva.renderingengine.RenderingEngine
 
display() - Method in class unc.cdva.testmocks.MockGlCanvas
 
displayChanged(GLAutoDrawable, boolean, boolean) - Method in class unc.cdva.renderingengine.RenderingEngine
Do absolutely nothing...
DisplayList - Class in unc.cdva.renderingengine
Bean class that stores the objects that have to be displayed on screen and the transformation that will be applyed
DisplayList() - Constructor for class unc.cdva.renderingengine.DisplayList
Init an empty display list
distance(MyVector3f) - Method in class unc.cdva.utils.MyVector3f
 
DISTANCE_MAPPING_FACTOR - Static variable in class unc.cdva.utils.Constants
Represents the factor to convert rendering coordinates into logical game coordinates.

E

endGame(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you set the game ends
endGame(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
 
endLevel(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when a level ends
endLevel(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
 
equals(Object) - Method in class unc.cdva.gameengine.entities.Player
Returns true if the parameter is a player object that has the same id as this player object.
equals(Object) - Method in class unc.cdva.utils.Id
Checks if rhs is equal to this object
equals(Object) - Method in class unc.cdva.utils.TaggedObject
Checks if object o is equal to this object
explode() - Method in class unc.cdva.interactiveitems.Target
Sets the state of the target to 'exploding.'
explodeBackground() - Method in class unc.cdva.interactiveitems.Projectile
Sets the state of the projecitle to exploding over the background, change to this state as soon as it is known that the projectile will miss it's targets and is overshot missing even the pathway (river).
explodePathway() - Method in class unc.cdva.interactiveitems.Projectile
Sets the state of the projecitle to exploding over the pathway, change to this state as soon as it is known that the projectile will miss it's targets and will explode on the pathway.
explodeTarget() - Method in class unc.cdva.interactiveitems.Projectile
Sets the projectile to explode target, change to this state as soon as it is determined that the projectile will hit a target.
exploding() - Method in class unc.cdva.interactiveitems.Projectile
Sets the state of the projectile to exploding, ie the projectile has arrived to it's target and should then blow up.

F

Face - Class in unc.cdva.graphics.models
Correspond to a polygon.
Face(int, int) - Constructor for class unc.cdva.graphics.models.Face
Init a Face with the id of its material, and the number of vertices
FengGUIEventRouter - Class in unc.cdva.renderingengine.gui
Utility class that is used by the UI manager to notify some GameEventListeners (GameEngine!)
FengGUIEventRouter() - Constructor for class unc.cdva.renderingengine.gui.FengGUIEventRouter
Create a FengGUIEventRouter
fire(GameEvent, Id) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when the gun fires!
fire(GameEvent, Id) - Method in class unc.cdva.gameengine.GameEngine
 
fire(Player, Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Creates a new projectile and sets the position, direction, scale, and player input value Changes the direction of the gun to point toward the reticle and changes the state to reload
fire() - Method in class unc.cdva.interactiveitems.Gun
Toggles the fire state.
fragmentObject - Variable in class unc.cdva.graphics.models.ShaderProgram
Fragment program id
freezeFireWindows(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you fire, and block the other windows
freezeFireWindows(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
 
freezeGame(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you stop the game
freezeGame(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
fullscreen - Static variable in class unc.cdva.riverassault.Main
 

G

GameEngine - Class in unc.cdva.gameengine
Raw source events are passed to the game engine, which then in turn notifies listeners.
GameEngine(GLCanvas) - Constructor for class unc.cdva.gameengine.GameEngine
Constructor - initializes the game engine.
GameEvent - Class in unc.cdva.events.gameevents
Define the Game Events.
GameEvent(Object, GameEventType) - Constructor for class unc.cdva.events.gameevents.GameEvent
Constructor which creates a new EventObject and sets the event type in this object
GameEvent(Object, GameEventType, float, float) - Constructor for class unc.cdva.events.gameevents.GameEvent
Constructor which creates a new EventObject, sets the event type in this object, and sets the x and y values of this object
GameEventListener - Interface in unc.cdva.events.gameevents
Listener interface for the GameEvents
GameEventType - Enum in unc.cdva.events.gameevents
Enumeration of the different kind of GameEvents
gameMenu() - Method in class unc.cdva.renderingengine.gui.UIManager
Load the GUI elements of the Game Menu
GameTimer - Class in unc.cdva.gameengine.timer
The timer for the game, notifies listeners when it fires.
GameTimer() - Constructor for class unc.cdva.gameengine.timer.GameTimer
Initializes the game timer.
generateLogString(String) - Static method in class unc.cdva.utils.Util
Generate log line
getAddToScore() - Method in class unc.cdva.gameengine.managers.ItemManager
 
getAmbient() - Method in class unc.cdva.graphics.models.Material
 
getAmbientFloats() - Method in class unc.cdva.graphics.models.Material
 
getAngle() - Method in class unc.cdva.graphics.models.RightTriangle
 
getAngleVertex() - Method in class unc.cdva.graphics.models.RightTriangle
 
getAnimation() - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
getAnimations() - Method in class unc.cdva.graphics.models.AnimatedObject
 
getBaseObject() - Method in class unc.cdva.graphics.models.AnimatedObject
 
getBaseObject() - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
getContents(String) - Static method in class unc.cdva.utils.TextFileReader
Fetch the entire contents of a text file, and return it in a String.
getCurrentAnimation() - Method in class unc.cdva.graphics.models.AnimatedObject
 
getCurrentKeyFrame() - Method in class unc.cdva.graphics.animations.Animation
 
getDestination() - Method in class unc.cdva.interactiveitems.RangeCar
 
getDiffuse() - Method in class unc.cdva.graphics.models.Material
 
getDiffuseFloats() - Method in class unc.cdva.graphics.models.Material
 
getDirection() - Method in class unc.cdva.interactiveitems.InteractiveItem
 
getDirection() - Method in class unc.cdva.utils.PdsBean
 
getDisplayList() - Method in class unc.cdva.renderingengine.GraphicsManager
 
getDissolve() - Method in class unc.cdva.graphics.models.Material
 
getDistance() - Method in class unc.cdva.graphics.models.RightTriangle
 
getDistanceVertex() - Method in class unc.cdva.graphics.models.RightTriangle
 
getDrawable() - Method in interface unc.cdva.problems.Problem
Returns a drawable object that is meant to be drawn when the problem is created.
getDrawable() - Method in class unc.cdva.problems.ProblemTriangle
 
getElement(String) - Method in class unc.cdva.gameengine.managers.PreferencesManager
 
getEventType() - Method in class unc.cdva.events.gameevents.GameEvent
 
getFace(int) - Method in class unc.cdva.graphics.models.ObjData
Get the data for specific face
getFaceCount() - Method in class unc.cdva.graphics.models.ObjData
Get the number of faces found in the model file
getGraphicsManager() - Method in class unc.cdva.renderingengine.RenderingEngine
 
getGun(Player) - Method in class unc.cdva.gameengine.managers.ItemManager
Gets the Gun object associated with a player.
getGun(Id) - Method in class unc.cdva.renderingengine.GraphicsManager
Get a gun object from the gun list according to its id
getGunRange() - Method in interface unc.cdva.problems.Problem
 
getGunRange() - Method in class unc.cdva.problems.ProblemTriangle
 
getGuns() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getHandler() - Method in class unc.cdva.graphics.animations.TextureAnimation
 
getHighScore() - Method in class unc.cdva.gameengine.entities.Player
 
getId() - Method in interface unc.cdva.utils.Taggable
 
getId() - Method in class unc.cdva.utils.TaggedObject
 
getInstance() - Static method in class unc.cdva.gameengine.managers.ItemManager
Gets an instance of the item manager.
getInstance() - Static method in class unc.cdva.gameengine.managers.PreferencesManager
 
getInstance() - Static method in class unc.cdva.gameengine.managers.ProblemManager
Retrieves the instance of the problem manager.
getInstance(boolean, GL) - Static method in class unc.cdva.renderingengine.GraphicsManager
Initialize the graphic manager if needed, and return the only instance allowed to be instanciated
getInstance(Display, Dimension, FengGUIEventRouter) - Static method in class unc.cdva.renderingengine.gui.UIManager
Initialize UIManager and return the singleton
getItems() - Method in class unc.cdva.gameengine.managers.ItemManager
Generate the ItemsBean sent to the graphics manager
getItemsBean() - Method in class unc.cdva.renderingengine.GraphicsManager
 
getItemsManager() - Method in class unc.cdva.gameengine.GameEngine
 
getKeyFrameId() - Method in class unc.cdva.graphics.animations.KeyFrame
 
getKeyFrames() - Method in class unc.cdva.graphics.animations.Animation
 
getLandingPoint() - Method in class unc.cdva.interactiveitems.Projectile
Getter for the landing point.
getLevel() - Method in class unc.cdva.gameengine.entities.Player
 
getListId() - Method in class unc.cdva.graphics.models.StaticListObject
 
getMaterial(int) - Method in class unc.cdva.graphics.models.ObjData
Get the material for material id
getMaterialId() - Method in class unc.cdva.graphics.models.Face
 
getMaxScaling() - Static method in class unc.cdva.interactiveitems.Target
 
getMaxSpeed() - Static method in class unc.cdva.interactiveitems.Target
 
getMinScaling() - Static method in class unc.cdva.interactiveitems.Target
 
getMinSpeed() - Static method in class unc.cdva.interactiveitems.Target
 
getModeList() - Static method in class unc.cdva.riverassault.Main
Get a list of all the display modes available
Method found in Jake2 source code ...
getMusicFolder() - Method in class unc.cdva.renderingengine.gui.UIManager
 
getMuzzleHeight() - Static method in class unc.cdva.interactiveitems.Gun
 
getName() - Method in class unc.cdva.graphics.animations.Animation
 
getName() - Method in class unc.cdva.graphics.models.Material
 
getNormal(int) - Method in class unc.cdva.graphics.models.Face
Get the normal of the vertex of index i
getObject() - Method in class unc.cdva.graphics.animations.Animation
 
getObjects() - Method in class unc.cdva.renderingengine.DisplayList
 
getPathwayEnd() - Method in class unc.cdva.gameengine.managers.ItemManager
 
getPathwayEnd() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getPdsBean() - Method in class unc.cdva.interactiveitems.InteractiveItem
 
getPosition() - Method in class unc.cdva.interactiveitems.InteractiveItem
 
getPosition() - Method in class unc.cdva.utils.PdsBean
 
getProblem(Id) - Method in class unc.cdva.gameengine.managers.ProblemManager
Retrieves a problem by the id.
getProblem(Id) - Method in class unc.cdva.renderingengine.GraphicsManager
Get a problem object from the problem list according to its id
getProblemLabels() - Method in interface unc.cdva.problems.Problem
Used to retrieve labels that the problem would like to show the user.
getProblemLabels() - Method in class unc.cdva.problems.ProblemTriangle
 
getProblemManager() - Method in class unc.cdva.gameengine.GameEngine
 
getProjectile(Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Finds the projectile associated with a given problem.
getProjectile(Id) - Method in class unc.cdva.renderingengine.GraphicsManager
Get a projectile object from the projectile list according to its id
getProjectiles() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getProjectileStartPos() - Method in class unc.cdva.interactiveitems.Gun
Given the 2d muzzle height vector, calculates where the projectile should originate (the end of the muzzle)
getQuestionMarkVertex() - Method in class unc.cdva.graphics.models.RightTriangle
 
getRangeCar(Player) - Method in class unc.cdva.gameengine.managers.ItemManager
Returns a player's rangecar.
getRangeCars() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getReloadTime() - Static method in class unc.cdva.interactiveitems.Gun
 
getReticle(Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Finds the reticle associated with some problem.
getReticle(Id) - Method in class unc.cdva.renderingengine.GraphicsManager
Get a reticle object from the reticle list according to a problem id
getReticleInstance() - Method in class unc.cdva.renderingengine.GraphicsManager
 
getReticles() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getRotation() - Method in class unc.cdva.graphics.animations.KeyFrame
 
getRunningTime() - Method in class unc.cdva.graphics.animations.Animation
 
getScale() - Method in class unc.cdva.graphics.animations.KeyFrame
 
getScaling() - Method in class unc.cdva.interactiveitems.InteractiveItem
 
getScaling() - Method in class unc.cdva.utils.PdsBean
 
getScore() - Method in class unc.cdva.gameengine.entities.Player
 
getSerialVersionUID() - Static method in class unc.cdva.graphics.animations.Animation
 
getSolutionRange() - Method in interface unc.cdva.problems.Problem
 
getSolutionRange() - Method in class unc.cdva.problems.ProblemTriangle
 
getSpecular() - Method in class unc.cdva.graphics.models.Material
 
getSpecularFloats() - Method in class unc.cdva.graphics.models.Material
 
getState() - Method in class unc.cdva.interactiveitems.InteractiveItem
 
getStream(String) - Static method in class unc.cdva.utils.Util
Try to open a file.
getTarget(Id) - Method in class unc.cdva.renderingengine.GraphicsManager
Get a target object from the target list according to its id
getTargets() - Method in class unc.cdva.gameengine.managers.ItemManager
 
getTargets() - Method in class unc.cdva.interactiveitems.ItemsBean
 
getTexture() - Method in class unc.cdva.graphics.animations.TextureAnimation
 
getTexture() - Method in class unc.cdva.graphics.models.StaticListObject
 
getTextureCoordinates(int) - Method in class unc.cdva.graphics.models.Face
Get the texture coordinates of the vertex of index i
getTime() - Method in class unc.cdva.graphics.animations.KeyFrame
 
getTransformations() - Method in class unc.cdva.renderingengine.DisplayList
 
getTranslation() - Method in class unc.cdva.graphics.animations.KeyFrame
 
getType() - Method in interface unc.cdva.problems.Problem
Returns the problem type.
getType() - Method in class unc.cdva.problems.ProblemTriangle
 
getUIManager() - Method in class unc.cdva.renderingengine.RenderingEngine
 
getValue() - Method in class unc.cdva.utils.Id
 
getVertex(int) - Method in class unc.cdva.graphics.models.Face
Get a vertex of the face using its index
getVertex1() - Method in class unc.cdva.graphics.models.RightTriangle
 
getVertex2() - Method in class unc.cdva.graphics.models.RightTriangle
 
getVertex3() - Method in class unc.cdva.graphics.models.RightTriangle
 
getVertex4() - Method in class unc.cdva.graphics.models.RightTriangle
 
getVertex5() - Method in class unc.cdva.graphics.models.RightTriangle
 
getVerticesNumber() - Method in class unc.cdva.graphics.models.Face
Total number of vertices of the face
getWidget() - Method in class unc.cdva.events.uievents.UIEvent
 
getWindowId() - Method in class unc.cdva.renderingengine.gui.TaggedWindow
 
getX() - Method in class unc.cdva.events.clickevents.ClickEvent
 
getX() - Method in class unc.cdva.events.gameevents.GameEvent
 
getX() - Method in class unc.cdva.events.uievents.UIEvent
 
getX() - Method in class unc.cdva.utils.MyVector3f
 
getX3D() - Method in class unc.cdva.events.uievents.UIEvent
 
getY() - Method in class unc.cdva.events.clickevents.ClickEvent
 
getY() - Method in class unc.cdva.events.gameevents.GameEvent
 
getY() - Method in class unc.cdva.events.uievents.UIEvent
 
getY() - Method in class unc.cdva.utils.MyVector3f
 
getY3D() - Method in class unc.cdva.events.uievents.UIEvent
 
getZ() - Method in class unc.cdva.utils.MyVector3f
 
gl - Variable in class unc.cdva.graphics.models.ShaderProgram
Open GL context
GRAPHICS_FILE - Static variable in class unc.cdva.utils.Constants
 
GraphicsEvent - Class in unc.cdva.events.graphicsevents
Define the GraphicsEvents.
GraphicsEvent(Object) - Constructor for class unc.cdva.events.graphicsevents.GraphicsEvent
Constructor which creates a new GraphicsEvent
GraphicsEventListener - Interface in unc.cdva.events.graphicsevents
Listener interface for the GraphicsEvents
graphicsEventlisteners - Variable in class unc.cdva.gameengine.GameEngine
 
GraphicsManager - Class in unc.cdva.renderingengine
Object that manage the graphics elements of the game.
Gun - Class in unc.cdva.interactiveitems
Gun object, essentially stores the state of a players gun.
Gun(Id, PdsBean) - Constructor for class unc.cdva.interactiveitems.Gun
Gun constructor, uses a default value for the muzzle height, the other two values needed by the gun object are passed in as parameters.
Gun(Id, PdsBean, Vector2f) - Constructor for class unc.cdva.interactiveitems.Gun
Gun constructor that initializes the internal state of the gun.
GunTest - Class in unc.cdva.interactiveitems
 
GunTest() - Constructor for class unc.cdva.interactiveitems.GunTest
 

H

handle(int) - Method in class unc.cdva.graphics.animations.PathwayEndHandler
 
handle(int) - Method in class unc.cdva.graphics.animations.PathwayHandler
 
handle(int) - Method in class unc.cdva.graphics.animations.ReticleHandler
 
handle(int) - Method in class unc.cdva.graphics.animations.TextureAnimationHandler
Returns a texture corresponding to the objects state.
hashCode() - Method in class unc.cdva.utils.Id
Returns a new number found based on the Id
hashCode() - Method in class unc.cdva.utils.TaggedObject
Turns the Id into a new value to be used for further identification of this object
hitBySomething() - Method in class unc.cdva.interactiveitems.PathwayEnd
A method to indicate that the pathway end was hit by something, advances the state of the dam.

I

Id - Class in unc.cdva.utils
Class which creates a unique Id for each of the interactive items of the game
Id(long) - Constructor for class unc.cdva.utils.Id
Constructor which sets the Id to the sent value
Id(Id) - Constructor for class unc.cdva.utils.Id
copy constructor, creates a deep copy.
IdTest - Class in unc.cdva.utils
 
IdTest() - Constructor for class unc.cdva.utils.IdTest
 
init() - Method in class unc.cdva.gameengine.entities.Player
Resets a player object, the player will have no score and will be on the first level.
init() - Method in interface unc.cdva.gameengine.managers.Manager
Use to re-initialize the manager.
init() - Method in class unc.cdva.gameengine.managers.ProblemManager
Used to re-initialize the problem manager.
init(GLAutoDrawable) - Method in class unc.cdva.renderingengine.RenderingEngine
 
initExtension(String) - Method in class unc.cdva.renderingengine.RenderingEngine
Check if an OpenGL extension is available
initLevel(GraphicsEvent) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a level is started
initLevel(int) - Method in class unc.cdva.gameengine.managers.ItemManager
Set gun reload time, boat number, boat interval, boat speed using xml file
initLevel(GraphicsEvent) - Method in class unc.cdva.renderingengine.GraphicsManager
 
initObjects() - Method in class unc.cdva.renderingengine.GraphicsManager
Load the prototype of all the objects in memory
initOpenGL() - Method in class unc.cdva.renderingengine.RenderingEngine
Initialiaze OpenGL (set the perspective, viewport, enable features, etc...)
inside(Vector3f) - Method in class unc.cdva.utils.BoundingBox
Let you know if a point is inside the box
InteractiveItem - Class in unc.cdva.interactiveitems
Super class for items that change on screen (ie: they have animations)
InteractiveItem() - Constructor for class unc.cdva.interactiveitems.InteractiveItem
Default constructor for interactive item, initializes the interactive item with default position/direction/scale values, does not initialize the state of the item.
InteractiveItemTest - Class in unc.cdva.interactiveitems
 
InteractiveItemTest() - Constructor for class unc.cdva.interactiveitems.InteractiveItemTest
 
interpolateVector(long, long, Vector3f, Vector3f) - Method in class unc.cdva.graphics.animations.Animation
Do the linear interpolation of a vector between two keyframes at time runningTime
interpolation(float, float, float, float, float) - Method in class unc.cdva.graphics.animations.Animation
Linear interpolation method.
intToLong(int) - Static method in class unc.cdva.utils.Util
Converts an integer into the corresponding long value.
isActive() - Method in class unc.cdva.gameengine.entities.Player
A getter method for the active property of Player.
isAnimationRunning() - Method in class unc.cdva.graphics.models.AnimatedObject
 
isCached() - Method in class unc.cdva.graphics.models.RightTriangle
 
isCracked() - Method in class unc.cdva.interactiveitems.PathwayEnd
 
isDestroyed() - Method in class unc.cdva.interactiveitems.PathwayEnd
 
isEndGame() - Method in class unc.cdva.gameengine.managers.ItemManager
 
isEndLevel() - Method in class unc.cdva.gameengine.managers.ItemManager
 
isExplodeBackground() - Method in class unc.cdva.interactiveitems.Projectile
 
isExplodePathway() - Method in class unc.cdva.interactiveitems.Projectile
 
isExplodeTarget() - Method in class unc.cdva.interactiveitems.Projectile
 
isExploding() - Method in class unc.cdva.interactiveitems.Projectile
 
isExploding() - Method in class unc.cdva.interactiveitems.Target
 
isFiring() - Method in class unc.cdva.gameengine.entities.Player
 
isFiring() - Method in class unc.cdva.interactiveitems.Gun
The gun is in the firing state when it is in the act of firing.
isLeaking() - Method in class unc.cdva.interactiveitems.PathwayEnd
 
isLookingForHitSurface() - Method in class unc.cdva.interactiveitems.Projectile
 
isMoving() - Method in class unc.cdva.interactiveitems.MobileItem
 
isMovingTargets() - Method in class unc.cdva.gameengine.managers.ItemManager
Checks if movingTargets is true or false
isOk() - Method in class unc.cdva.interactiveitems.PathwayEnd
 
isReady() - Method in class unc.cdva.interactiveitems.Gun
Indicates if in the ready state.
isReady() - Method in class unc.cdva.renderingengine.RenderingEngine
 
isReloading() - Method in class unc.cdva.interactiveitems.Gun
The gun is in the reloading state for some amount of time after it has fired.
isRepeat() - Method in class unc.cdva.graphics.animations.Animation
 
isRunning() - Method in class unc.cdva.graphics.animations.Animation
 
isShowBaseObject() - Method in class unc.cdva.graphics.animations.Animation
 
isStopped() - Method in class unc.cdva.interactiveitems.MobileItem
 
isSunk() - Method in class unc.cdva.interactiveitems.Target
 
isWaitingForFire() - Method in class unc.cdva.interactiveitems.Reticle
 
isWaitingForGun() - Method in class unc.cdva.interactiveitems.Reticle
 
isWaitingForValue() - Method in class unc.cdva.interactiveitems.Reticle
 
ItemManager - Class in unc.cdva.gameengine.managers
Item manager keeps track of the physical entities of the game such as projectiles, guns, and even players.
ItemManagerTest - Class in unc.cdva.gameengine.managers
 
ItemManagerTest() - Constructor for class unc.cdva.gameengine.managers.ItemManagerTest
 
ItemsBean - Class in unc.cdva.interactiveitems
A conveniance class that acts as a transport between the items manager and the 3d rendering stuff.
ItemsBean() - Constructor for class unc.cdva.interactiveitems.ItemsBean
Default constructor, no initialization done, all data is null and needs to be set.
ItemsBean(ItemsBean) - Constructor for class unc.cdva.interactiveitems.ItemsBean
Copy constructor - creates a deep copy.
iteratorObjects() - Method in class unc.cdva.renderingengine.DisplayList
Get an iterator of the objects
iteratorTransformations() - Method in class unc.cdva.renderingengine.DisplayList
Get an iterator of the transformations

K

KeyboardListener - Class in unc.cdva.renderingengine.gui.listeners
Listener for the key events.
KeyboardListener(Display) - Constructor for class unc.cdva.renderingengine.gui.listeners.KeyboardListener
Create a listener, and attach the display
KeyFrame - Class in unc.cdva.graphics.animations
Represents a 'keyframe' in an animation.
KeyFrame(int, long, Vector3f, Vector4f, Vector3f) - Constructor for class unc.cdva.graphics.animations.KeyFrame
Keyframe constructor - inits a keyframe with the value usually parsed in the graphics xml file
keyPressed(KeyEvent) - Method in class unc.cdva.renderingengine.gui.listeners.KeyboardListener
 
keyReleased(KeyEvent) - Method in class unc.cdva.renderingengine.gui.listeners.KeyboardListener
 
keyTyped(KeyEvent) - Method in class unc.cdva.renderingengine.gui.listeners.KeyboardListener
 

L

leak() - Method in class unc.cdva.interactiveitems.PathwayEnd
Sets the state of the dam to leaking (two hits, almost destroyed)
length() - Method in class unc.cdva.utils.MyVector3f
 
LEVELS_FILE - Static variable in class unc.cdva.utils.Constants
 
listeners - Variable in class unc.cdva.events.SingleEventSource
Listeners list
loadBackground(GraphicsEvent, String) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when the background has to be change
loadBackground(GraphicsEvent, String) - Method in class unc.cdva.renderingengine.GraphicsManager
 
loadLevel(int) - Method in class unc.cdva.gameengine.GameEngine
Inits the game to a certain level.
loadMainMenu(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you load the main menu
loadMainMenu(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
loadNextLevel(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you load the next level after winning a level
loadNextLevel(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
loadOptionMenu(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you load the option menu
loadOptionMenu(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
loadSinglePlayer(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you load a single player game
loadSinglePlayer(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
loadSource(String) - Method in class unc.cdva.graphics.models.ShaderProgram
Load a source file from the hard drive
loadTargets() - Method in class unc.cdva.gameengine.managers.ItemManager
Loads all the boats for the next level and creates a random position, direction, and scaling for each
LONG_TESTS - Static variable in class unc.cdva.utils.Constants
Specifies that test methods/classes need not be concerned by overly long tests.
lookingForHitSurface() - Method in class unc.cdva.interactiveitems.Projectile
The very initial state of a projectile.

M

Main - Class in unc.cdva.riverassault
Main class of River Assault
Main() - Constructor for class unc.cdva.riverassault.Main
 
main(String[]) - Static method in class unc.cdva.riverassault.Main
Main method
mainMenu(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you go to the main menu
mainMenu(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
Load the GUI element of the Main Menu
Manager - Interface in unc.cdva.gameengine.managers
An interface for manager classes.
Material - Class in unc.cdva.graphics.models
Stores the material properties of the faces of the objects.
Material(Vector3f, Vector3f, Vector3f, float, String) - Constructor for class unc.cdva.graphics.models.Material
Init a material object
Material() - Constructor for class unc.cdva.graphics.models.Material
Init an empty material object
MAX_LEVEL - Static variable in class unc.cdva.utils.Constants
 
MobileItem - Class in unc.cdva.interactiveitems
Abstract class for mobile items.
MobileItem() - Constructor for class unc.cdva.interactiveitems.MobileItem
 
MockGlCanvas - Class in unc.cdva.testmocks
 
MockGlCanvas() - Constructor for class unc.cdva.testmocks.MockGlCanvas
 
mouseClicked(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
mouseDragged(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
mouseEntered(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
mouseExited(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
MouseListener - Class in unc.cdva.renderingengine.gui.listeners
Listener for the mouse events.
MouseListener(Display) - Constructor for class unc.cdva.renderingengine.gui.listeners.MouseListener
Create a mouselistener, and attach the display
mouseMoved(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
mousePressed(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
mouseReleased(MouseEvent) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
 
move() - Method in class unc.cdva.gameengine.managers.ItemManager
Updates all movable or changeable items during gameplay Checks if projectiles reach their destination Checks if a new target needs to start moving Checks if any targets hit the pathwayEnd or are hit by a projectile Checks if reticles or guns need to change state
MOVING - Variable in class unc.cdva.interactiveitems.MobileItem
Used a state identifier, for when a object is moving.
MyVector3f - Class in unc.cdva.utils
 
MyVector3f(float, float, float) - Constructor for class unc.cdva.utils.MyVector3f
 
MyVector3f() - Constructor for class unc.cdva.utils.MyVector3f
 
MyVector3f(MyVector3f) - Constructor for class unc.cdva.utils.MyVector3f
 
MyVector3f(Vector3f) - Constructor for class unc.cdva.utils.MyVector3f
 
MyVector3fTest - Class in unc.cdva.utils
 
MyVector3fTest() - Constructor for class unc.cdva.utils.MyVector3fTest
 

N

nextLevel() - Method in class unc.cdva.gameengine.entities.Player
Increments the level property by one.
notifyAddGun(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifies the graphic listeners that a gun object has been added.
notifyAddProblem(Id, Object3D) - Method in class unc.cdva.gameengine.GameEngine
Notifies the graphic listeners that a new problem object has been created.
notifyAddProblem(Id, float, float) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that a problem is being added with an id and a position on screen
notifyAddProjectile(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a projectile has been added.
notifyAddReticle(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a reticle has been added.
notifyAddTarget(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a target has been added.
notifyCancelProblem(Id) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that a problem is being cancelled
notifyEndGame() - Method in class unc.cdva.gameengine.GameEngine
Notifes UI event listeners that the player has lost.
notifyEndLevel() - Method in class unc.cdva.gameengine.GameEngine
Notifies UI event listeners that the level is over, (the player has finished it).
notifyFire(Id) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that a gun is firing with the data of a problem
notifyFreeze() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the game is pausing
notifyFreezeFireWindows() - Method in class unc.cdva.gameengine.GameEngine
Notifies UI event listeners that the fire windows have to been frozen
notifyInitLevel() - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a new game level has been started.
notifyLoadBackground(String) - Method in class unc.cdva.gameengine.GameEngine
Notifies the ui listeners to load a new background.
notifyLoadMainMenu() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the main menu is loading
notifyLoadNextLevel() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the next level is loading
notifyLoadOptionMenu() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the option menu is loading
notifyLoadSinglePlayer() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that a single player game is loading
notifyQuit() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the game is quitting
notifyRemoveGun(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifies the graphic listeners that a gun has been removed.
notifyRemoveProblem(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifies graphic listeners that a problem has been removed.
notifyRemoveProjectile(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a projectile has been removed.
notifyRemoveReticle(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a reticle has been removed.
notifyRemoveTarget(Id) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that a target has been removed.
notifySetHighScoreLabel(long) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that the player's high score needs to be set.
notifySetLevelLabel(long) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that the level label needs to be updated.
notifySetMasterVolume(float) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the master volume is being set
notifySetMusicFolder(String) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the music folder is being set
notifySetProblemValue(Id, long) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that a problem value is being set
notifySetScoreLabel(long) - Method in class unc.cdva.gameengine.GameEngine
Notifes the graphic listeners that the player's score needs to be set.
notifySetVideoResolution(Dimension) - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the video resolution is being set
notifyTransformToWorldCoordinates(int, int) - Method in class unc.cdva.renderingengine.gui.listeners.MouseListener
Notify the listener that some screen coordinates have to be transformed to world coordinates
notifyUnfreezeFireWindows() - Method in class unc.cdva.gameengine.GameEngine
Notifies UI event listeners that the fire windows no longer have to be frozen
notifyUnfreezeGame() - Method in class unc.cdva.renderingengine.gui.FengGUIEventRouter
Notify the listeners that the game is resuming
notifyUpdate() - Method in class unc.cdva.gameengine.timer.GameTimer
Notifies listeners when the timer fires.
notifyUpdateDisplayList() - Method in class unc.cdva.gameengine.GameEngine
Notifies the graphic event listeners that the display list has changed,and that there a new/updated things to draw.
notifyUpdateItemsBean(ItemsBean) - Method in class unc.cdva.gameengine.GameEngine
Alerts the graphic event listeners that the items bean has changed.

O

ObjData - Class in unc.cdva.graphics.models
The data that has been read from the Wavefront .obj file.
ObjData(InputStream, InputStream) - Constructor for class unc.cdva.graphics.models.ObjData
Create a new set of OBJ data by reading it in from the specified input stream.
Object3D - Interface in unc.cdva.graphics.models
Interface of the 3D object of our rendering pipeline.
Object3DFactory - Class in unc.cdva.graphics.models
Factory allowing you to easily instantiate our three main types of 3D objects: StaticListObject, AnimatedObject and TextureAnimatedObject
Object3DFactory() - Constructor for class unc.cdva.graphics.models.Object3DFactory
 
ok() - Method in class unc.cdva.interactiveitems.PathwayEnd
Sets the state of the pathway end.
optionMenu() - Method in class unc.cdva.renderingengine.gui.UIManager
Load the GUI element of the Option Menu

P

PATHWAY_END - Static variable in class unc.cdva.utils.Constants
Specifies how far the pathway extends (used in figuring out if a boat has hit the dam).
PATHWAY_MAX - Static variable in class unc.cdva.utils.Constants
pathway extends (this does not change the graphics! just the projectile hit/miss properties).
PATHWAY_MIN - Static variable in class unc.cdva.utils.Constants
pathway extends (this does not change the graphics! just the projectile hit/miss properties).
PathwayEnd - Class in unc.cdva.interactiveitems
Pathway end object keeps track of the state of the pathway end.
PathwayEnd() - Constructor for class unc.cdva.interactiveitems.PathwayEnd
constructor for a pathway end, it initializes the state of the pathway end.
PathwayEndHandler - Class in unc.cdva.graphics.animations
Used to manage the textures of the pathway end.
PathwayEndHandler(String) - Constructor for class unc.cdva.graphics.animations.PathwayEndHandler
 
PathwayHandler - Class in unc.cdva.graphics.animations
Loads the texture for the pathway handler, and allows access to it.
PathwayHandler(String) - Constructor for class unc.cdva.graphics.animations.PathwayHandler
 
PdsBean - Class in unc.cdva.utils
Bean that stores the position, direction and scaling vectors of an item
PdsBean(Vector3f, Vector3f, Vector3f) - Constructor for class unc.cdva.utils.PdsBean
Instantiates a pds bean with data provided by this constructor's parameters.
PdsBean() - Constructor for class unc.cdva.utils.PdsBean
Instantiates a pds bean with default data.
PdsBeanTest - Class in unc.cdva.utils
Tests to make sure that the pds bean's getter methods do not return a copy of the data but rather a reference to the actual data.
PdsBeanTest() - Constructor for class unc.cdva.utils.PdsBeanTest
 
Player - Class in unc.cdva.gameengine.entities
Abstract representation of a player, or a user.
Player() - Constructor for class unc.cdva.gameengine.entities.Player
Initializes a player object, starts the level and score at zero, and tags the player as active.
PlayerTest - Class in unc.cdva.gameengine.entities
 
PlayerTest() - Constructor for class unc.cdva.gameengine.entities.PlayerTest
 
position - Variable in class unc.cdva.interactiveitems.InteractiveItem
Vector representing the position of the item.
POSITION_CAMERA - Static variable in class unc.cdva.utils.Constants
 
POSITION_LIGHT - Static variable in class unc.cdva.utils.Constants
 
PREFERENCES - Static variable in class unc.cdva.utils.Constants
 
PreferencesManager - Class in unc.cdva.gameengine.managers
TODO jdoc this
printLog(String) - Static method in class unc.cdva.utils.Util
Display line of text + time
printShaderLog(int) - Method in class unc.cdva.graphics.models.ShaderProgram
Display the compilation/linking log
Problem - Interface in unc.cdva.problems
Interface for problem objects, all problem types must implement this interface.
ProblemManager - Class in unc.cdva.gameengine.managers
The problem manager has the task of managing the lifecylce of problem objects.
ProblemTriangle - Class in unc.cdva.problems
Right Triangle Problem.
ProblemTriangle(Vector3f, Vector3f, Id) - Constructor for class unc.cdva.problems.ProblemTriangle
Constructs a triangle bean.
ProblemType - Enum in unc.cdva.problems
Enumeration of the type of problems availables
Projectile - Class in unc.cdva.interactiveitems
Represents a projectile.
Projectile(Gun, Vector3f, Id) - Constructor for class unc.cdva.interactiveitems.Projectile
Initializes a projectile object.

Q

quit(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when the game quits
quit(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 

R

RANGE_CAR_SPEED - Static variable in class unc.cdva.utils.Constants
 
RangeCar - Class in unc.cdva.interactiveitems
RangeCar object, keeps track of the rangecars state.
RangeCar(Id, Gun) - Constructor for class unc.cdva.interactiveitems.RangeCar
Constructor for a rangecar.
ready() - Method in class unc.cdva.interactiveitems.Gun
Toggles the ready state.
reload() - Method in class unc.cdva.interactiveitems.Gun
Toggles the ready state.
removeGraphicsEventListener(GraphicsEventListener) - Method in class unc.cdva.gameengine.GameEngine
Removes a graphics event listener.
removeGun(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a gun is removed
removeGun(Player) - Method in class unc.cdva.gameengine.managers.ItemManager
Removes the gun with the given Player
removeGun(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
removeListener(T) - Method in class unc.cdva.events.SingleEventSource
Removes a listener from the listeners variable of this class.
removePoint(Vector3f) - Method in class unc.cdva.graphics.models.Face
Remove a vertex from the face
removeProblem(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a problem is removed
removeProblem(Id) - Method in class unc.cdva.gameengine.managers.ProblemManager
Removes the problem with some id.
removeProblem(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
removeProjectile(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a projectile is removed
removeProjectile(Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Removes the projectile associated with some problem.
removeProjectile(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
removeRangeCar(Player) - Method in class unc.cdva.gameengine.managers.ItemManager
Removes the rangeCar with the given player
removeReticle(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a reticle if removed
removeReticle(Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Removes the reticle with the given problem
removeReticle(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
removeTarget(GraphicsEvent, Id) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when a target is removed
removeTarget(GraphicsEvent, Id) - Method in class unc.cdva.renderingengine.GraphicsManager
 
removeUIEventListener(UIEventListener) - Method in class unc.cdva.gameengine.GameEngine
Removes a ui event listener.
removeUniformVariable(String) - Method in class unc.cdva.graphics.models.ShaderProgram
Remove a uniform variable
render(GL) - Method in class unc.cdva.graphics.animations.Animation
Draws the animation.
render(GL) - Method in class unc.cdva.graphics.models.AnimatedObject
 
render(GL) - Method in interface unc.cdva.graphics.models.Object3D
Render an object.
render(GL) - Method in class unc.cdva.graphics.models.RightTriangle
 
render(GL) - Method in class unc.cdva.graphics.models.StaticListObject
Render the OBJ Model
render(GL) - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
RenderingEngine - Class in unc.cdva.renderingengine
Heart of the rendering pipeline.
RenderingEngine(Display, UIManager, GraphicsManager) - Constructor for class unc.cdva.renderingengine.RenderingEngine
Init a rendering engine object with the right values
reshape(GLAutoDrawable, int, int, int, int) - Method in class unc.cdva.renderingengine.RenderingEngine
 
Reticle - Class in unc.cdva.interactiveitems
Reticle object, merely stores the state of the object.
Reticle() - Constructor for class unc.cdva.interactiveitems.Reticle
Initializes a reticle object, the position of the reticle needs to be set, as it is is initialized to a default value.
ReticleHandler - Class in unc.cdva.graphics.animations
Used to manage the textures of the reticle.
ReticleHandler(String) - Constructor for class unc.cdva.graphics.animations.ReticleHandler
 
revertState() - Method in class unc.cdva.interactiveitems.Reticle
Used to revert the state of the reticle (typically used when the gun is finished reloading)
RightTriangle - Class in unc.cdva.graphics.models
This class lets you draw a right triangle on the screen with a length label above the horizontal side and an angle label between that side and the hypothenuse of the triangle
RightTriangle(Vector3f[], String[]) - Constructor for class unc.cdva.graphics.models.RightTriangle
Intialize a triangle object using vertices defining the base triangle and labels (distance and angle)

S

scaling - Variable in class unc.cdva.interactiveitems.InteractiveItem
Vector repesenting how to scale the item.
setActive(boolean) - Method in class unc.cdva.gameengine.entities.Player
Setter for the active property of Player.
setAddToScore(long) - Method in class unc.cdva.gameengine.managers.ItemManager
 
setAmbient(Vector3f) - Method in class unc.cdva.graphics.models.Material
 
setAngle(String) - Method in class unc.cdva.graphics.models.RightTriangle
 
setAngleVertex(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setAnimation(TextureAnimation) - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
setAnimations(Hashtable<String, Animation>) - Method in class unc.cdva.graphics.models.AnimatedObject
 
setBaseObject(StaticListObject) - Method in class unc.cdva.graphics.models.AnimatedObject
 
setBaseObject(StaticListObject) - Method in class unc.cdva.graphics.models.TextureAnimatedObject
 
setCached(boolean) - Method in class unc.cdva.graphics.models.RightTriangle
 
setCameraFacing(Vector3f) - Static method in class unc.cdva.utils.Constants
 
setCameraPos(Vector3f) - Static method in class unc.cdva.utils.Constants
 
setCurrentAnimation(String) - Method in class unc.cdva.graphics.models.AnimatedObject
Set and start an animation.
setCurrentKeyFrame(int) - Method in class unc.cdva.graphics.animations.Animation
 
setDestination(Vector3f) - Method in class unc.cdva.interactiveitems.RangeCar
Sets the destination of the range car.
setDiffuse(Vector3f) - Method in class unc.cdva.graphics.models.Material
 
setDirection(Vector3f) - Method in class unc.cdva.interactiveitems.InteractiveItem
 
setDirection(Vector3f) - Method in class unc.cdva.utils.PdsBean
Sets the direction, the vector is normalized for you.
setDisplayList(DisplayList) - Method in class unc.cdva.renderingengine.GraphicsManager
 
setDissolve(float) - Method in class unc.cdva.graphics.models.Material
 
setDistance(String) - Method in class unc.cdva.graphics.models.RightTriangle
 
setDistanceVertex(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setElement(String, String) - Method in class unc.cdva.gameengine.managers.PreferencesManager
 
setEventType(GameEventType) - Method in class unc.cdva.events.gameevents.GameEvent
 
setFiring(boolean) - Method in class unc.cdva.gameengine.entities.Player
 
setGuns(Vector<Gun>) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the gun objects in the bean (does not create a copy).
setHandler(TextureAnimationHandler) - Method in class unc.cdva.graphics.animations.TextureAnimation
 
setHighScore(long) - Method in class unc.cdva.gameengine.entities.Player
 
setHighScoreLabel(UIEvent, long) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you set the high score label
setHighScoreLabel(UIEvent, long) - Method in class unc.cdva.renderingengine.gui.UIManager
 
setId(long) - Method in class unc.cdva.utils.TaggedObject
Sets the Id to the new long value sent
setId(Id) - Method in class unc.cdva.utils.TaggedObject
Sets the Id to be equal to the Id sent
setInputValues(long[]) - Method in interface unc.cdva.problems.Problem
Used to pass user parameters into the problem
setInputValues(long[]) - Method in class unc.cdva.problems.ProblemTriangle
 
setItemsBean(GraphicsEvent, ItemsBean) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when the itemsBean of the listener has to be reset.
setItemsBean(GraphicsEvent, ItemsBean) - Method in class unc.cdva.renderingengine.GraphicsManager
 
setKeyFrameId(int) - Method in class unc.cdva.graphics.animations.KeyFrame
 
setKeyFrames(Vector<KeyFrame>) - Method in class unc.cdva.graphics.animations.Animation
 
setLandingPoint(Vector3f) - Method in class unc.cdva.interactiveitems.Projectile
Setter for the landing point, the projectile will explode when it reaches this point, the projectile will also be shot and travel from the gun to this point.
setLevel(int) - Method in class unc.cdva.gameengine.entities.Player
 
setLevelLabel(UIEvent, long) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you set the level label
setLevelLabel(UIEvent, long) - Method in class unc.cdva.renderingengine.gui.UIManager
 
setListId(int) - Method in class unc.cdva.graphics.models.StaticListObject
 
setMasterVolume(GameEvent, float) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you set the master volume
setMasterVolume(GameEvent, float) - Method in class unc.cdva.gameengine.GameEngine
 
setMaterialId(int) - Method in class unc.cdva.graphics.models.Face
 
setMaxScaling(Vector3f) - Static method in class unc.cdva.interactiveitems.Target
 
setMaxSpeed(float) - Static method in class unc.cdva.interactiveitems.Target
 
setMinScaling(Vector3f) - Static method in class unc.cdva.interactiveitems.Target
 
setMinSpeed(float) - Static method in class unc.cdva.interactiveitems.Target
 
setMoving() - Method in class unc.cdva.interactiveitems.MobileItem
Puts the object in the 'moving' state.
setMovingTargets(boolean) - Method in class unc.cdva.gameengine.managers.ItemManager
Sets the ItemsManager attribute of movingTargets to the given boolean value
setMusicFolder(GameEvent, String) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you change the music folder
setMusicFolder(GameEvent, String) - Method in class unc.cdva.gameengine.GameEngine
 
setMusicFolder(UIEvent, String) - Method in class unc.cdva.renderingengine.gui.UIManager
 
setMuzzleHeight(Vector2f) - Static method in class unc.cdva.interactiveitems.Gun
 
setName(String) - Method in class unc.cdva.graphics.animations.Animation
 
setName(String) - Method in class unc.cdva.graphics.models.Material
 
setObject(StaticListObject) - Method in class unc.cdva.graphics.animations.Animation
 
setObjects(Vector<Object3D>) - Method in class unc.cdva.renderingengine.DisplayList
 
setPathwayEnd(PathwayEnd) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the pathway end object (does not create a copy).
setPds(PdsBean) - Method in class unc.cdva.interactiveitems.InteractiveItem
SetPds - sets the position, direction, and scaling of the gun.
setPosition(Vector3f) - Method in class unc.cdva.interactiveitems.InteractiveItem
 
setPosition(Vector3f) - Method in class unc.cdva.utils.PdsBean
 
setProblemValue(GameEvent, Id, long) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when the user set the value of a problem
setProblemValue(GameEvent, Id, long) - Method in class unc.cdva.gameengine.GameEngine
 
setProjectiles(Vector<Projectile>) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the projectiles objects in the bean (does not create a copy)
setQuestionMarkVertex(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setRangeCars(Vector<RangeCar>) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the range car objects in the bean (does not create a copy)
setReady(boolean) - Method in class unc.cdva.renderingengine.RenderingEngine
 
setReloadTime(long) - Static method in class unc.cdva.interactiveitems.Gun
 
setRepeat(boolean) - Method in class unc.cdva.graphics.animations.Animation
 
setReticles(Vector<Reticle>) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the reticles objects in the bean (does not create a copy)
setRotation(Vector4f) - Method in class unc.cdva.graphics.animations.KeyFrame
 
setRunningTime(long) - Method in class unc.cdva.graphics.animations.Animation
 
setScale(Vector3f) - Method in class unc.cdva.graphics.animations.KeyFrame
 
setScaling(Vector3f) - Method in class unc.cdva.interactiveitems.InteractiveItem
 
setScaling(Vector3f) - Method in class unc.cdva.utils.PdsBean
 
setScore(long) - Method in class unc.cdva.gameengine.entities.Player
 
setScoreLabel(UIEvent, long) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you set the score label
setScoreLabel(UIEvent, long) - Method in class unc.cdva.renderingengine.gui.UIManager
 
setShowBaseObject(boolean) - Method in class unc.cdva.graphics.animations.Animation
 
setSourceFragment(String) - Method in class unc.cdva.graphics.models.ShaderProgram
 
setSourceVertex(String) - Method in class unc.cdva.graphics.models.ShaderProgram
 
setSpecular(Vector3f) - Method in class unc.cdva.graphics.models.Material
 
setState(int) - Method in class unc.cdva.interactiveitems.InteractiveItem
 
setStopped() - Method in class unc.cdva.interactiveitems.MobileItem
Puts the object in the 'stopped' state.
setTargets(Vector<Target>) - Method in class unc.cdva.interactiveitems.ItemsBean
Sets the targets objects in the bean (does not create a copy)
setTexture(Texture) - Method in class unc.cdva.graphics.models.StaticListObject
 
setTime(long) - Method in class unc.cdva.graphics.animations.KeyFrame
 
setTimerRate(long) - Static method in class unc.cdva.utils.Constants
 
setTransformations(Vector<PdsBean>) - Method in class unc.cdva.renderingengine.DisplayList
 
setTranslation(Vector3f) - Method in class unc.cdva.graphics.animations.KeyFrame
 
setUniformVariables() - Method in class unc.cdva.graphics.models.ShaderProgram
Send the uniform variables to the GPU
setUp() - Method in class unc.cdva.gameengine.entities.PlayerTest
 
setUp() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
setUp() - Method in class unc.cdva.interactiveitems.GunTest
 
setUp() - Method in class unc.cdva.interactiveitems.InteractiveItemTest
 
setUp() - Method in class unc.cdva.utils.MyVector3fTest
 
setUp() - Method in class unc.cdva.utils.PdsBeanTest
 
setValue(Problem) - Method in class unc.cdva.gameengine.managers.ItemManager
Change reticle state to wait for fire
setVertex1(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setVertex2(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setVertex3(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setVertex4(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setVertex5(Vector3f) - Method in class unc.cdva.graphics.models.RightTriangle
 
setVideoResolution(GameEvent, Dimension) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you change the screen resolution
setVideoResolution(GameEvent, Dimension) - Method in class unc.cdva.gameengine.GameEngine
 
setWidget(Widget) - Method in class unc.cdva.events.uievents.UIEvent
 
setWindowId(Id) - Method in class unc.cdva.renderingengine.gui.TaggedWindow
 
setX(int) - Method in class unc.cdva.events.clickevents.ClickEvent
 
setX(float) - Method in class unc.cdva.events.gameevents.GameEvent
 
setX(int) - Method in class unc.cdva.events.uievents.UIEvent
 
setX3D(float) - Method in class unc.cdva.events.uievents.UIEvent
 
setY(int) - Method in class unc.cdva.events.clickevents.ClickEvent
 
setY(float) - Method in class unc.cdva.events.gameevents.GameEvent
 
setY(int) - Method in class unc.cdva.events.uievents.UIEvent
 
setY3D(float) - Method in class unc.cdva.events.uievents.UIEvent
 
shaderObject - Variable in class unc.cdva.graphics.models.ShaderProgram
Program id
ShaderProgram - Class in unc.cdva.graphics.models
Encapsulate a shader program.
ShaderProgram(GL) - Constructor for class unc.cdva.graphics.models.ShaderProgram
Init an empty shader program
ShaderProgram(String, String, GL) - Constructor for class unc.cdva.graphics.models.ShaderProgram
Init a shader program, and load the source of the vertex and fragment program
showSoundOptionMenu() - Method in class unc.cdva.renderingengine.gui.UIManager
Load and show the sound option dialog
SingleEventSource<T> - Class in unc.cdva.events
Utility class that let's you define a class that can be the source for exactly one type of event.
SingleEventSource() - Constructor for class unc.cdva.events.SingleEventSource
Constructor which creates a vector to store listeners for the game.
singleton - Static variable in class unc.cdva.renderingengine.GraphicsManager
Singleton
sink() - Method in class unc.cdva.interactiveitems.Target
Sets the state of the target to 'sinking.'
size() - Method in interface unc.cdva.gameengine.managers.Manager
 
size() - Method in class unc.cdva.gameengine.managers.ProblemManager
Returns the total number of problem objects that the problem manager is managing.
size() - Method in class unc.cdva.graphics.models.Face
 
sourceFragment - Variable in class unc.cdva.graphics.models.ShaderProgram
Source of the fragment program
sourceFragmentLength - Variable in class unc.cdva.graphics.models.ShaderProgram
Lengths of lines of the fragment program source
sourceVertex - Variable in class unc.cdva.graphics.models.ShaderProgram
Source of the vertex program
sourceVertexLength - Variable in class unc.cdva.graphics.models.ShaderProgram
Lengths of lines of the vertex program source
SPECULAR_LIGHT - Static variable in class unc.cdva.utils.Constants
Specifies the specular lighting values the game lighting.
start() - Method in class unc.cdva.gameengine.timer.GameTimer
Starts the game timer.
startAnimation() - Method in class unc.cdva.graphics.animations.Animation
Starts the animation.
startMovingTargets() - Method in class unc.cdva.gameengine.managers.ItemManager
Sets movingTargets to true and resets the movingTime
StaticListObject - Class in unc.cdva.graphics.models
An OBJ model implementation that renders the data as a display list.
StaticListObject() - Constructor for class unc.cdva.graphics.models.StaticListObject
Create a new OBJ model
StaticListObject(ObjData, Texture, ShaderProgram, GL) - Constructor for class unc.cdva.graphics.models.StaticListObject
Create a new OBJ model that will render the object data specified in OpenGL
stop() - Method in class unc.cdva.gameengine.timer.GameTimer
Stops the game timer (but it may be restarted).
stopAnimation() - Method in class unc.cdva.graphics.animations.Animation
Stops the animation.
stopMovingTargets() - Method in class unc.cdva.gameengine.managers.ItemManager
Sets movingTargets to false
STOPPED - Variable in class unc.cdva.interactiveitems.MobileItem
Used a state identifier, for when a object is stationary.
stopUsing() - Method in class unc.cdva.graphics.models.ShaderProgram
Deactivate the shader program
sub(MyVector3f) - Method in class unc.cdva.utils.MyVector3f
 

T

Taggable - Interface in unc.cdva.utils
 
TaggedObject - Class in unc.cdva.utils
A skeleton for a taggable object, if the object can not extend this object, then it should implement the Taggable interface.
TaggedObject() - Constructor for class unc.cdva.utils.TaggedObject
Constructor which creates a new Id for the newly created object
TaggedObjectTest - Class in unc.cdva.utils
 
TaggedObjectTest() - Constructor for class unc.cdva.utils.TaggedObjectTest
 
TaggedWindow - Class in unc.cdva.renderingengine.gui
Simple extension of the Window class of FengGUI Used to create the Reticles Menu windows, and Fire Menu windows.
TaggedWindow(Container) - Constructor for class unc.cdva.renderingengine.gui.TaggedWindow
Create a window inside a container
TaggedWindow(Container, boolean, boolean, boolean) - Constructor for class unc.cdva.renderingengine.gui.TaggedWindow
Create a window inside a container, and set the basic features (maximize, minimize, etc.)
Target - Class in unc.cdva.interactiveitems
Stores state of a target as well as static data, such as target min/max speed, and min/max scaling.
Target() - Constructor for class unc.cdva.interactiveitems.Target
Initializes a target to some offscreen location, the initial state is stopped, set it to moving to have the target start moving on screen.
TARGET_LENGTH - Static variable in class unc.cdva.utils.Constants
Lenght of a target 3d object
TARGET_WIDTH - Static variable in class unc.cdva.utils.Constants
Width of a target 3d object
tearDown() - Method in class unc.cdva.interactiveitems.GunTest
 
tearDown() - Method in class unc.cdva.utils.MyVector3fTest
 
testAdvanceInTime() - Method in class unc.cdva.interactiveitems.GunTest
 
testAssertUniqueShouldReturnFalse() - Method in class unc.cdva.testutils.TestingUtilTest
 
testAssertUniqueShouldReturnTrue() - Method in class unc.cdva.testutils.TestingUtilTest
 
testCancelReticle() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testCount() - Method in class unc.cdva.testutils.TestingUtilTest
 
testCountHandlesWhiteSpaceCorrectly() - Method in class unc.cdva.testutils.TestingUtilTest
 
testCountOnEmptyStrings() - Method in class unc.cdva.testutils.TestingUtilTest
 
testDisplayCalled() - Method in class unc.cdva.testmocks.MockGlCanvas
 
testDistance() - Method in class unc.cdva.utils.MyVector3fTest
 
testDistanceRigorous() - Method in class unc.cdva.utils.MyVector3fTest
 
testEquals() - Method in class unc.cdva.gameengine.entities.PlayerTest
 
testEquals() - Method in class unc.cdva.interactiveitems.InteractiveItemTest
 
testEquals() - Method in class unc.cdva.utils.PdsBeanTest
 
testFire() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testGetDirection() - Method in class unc.cdva.utils.PdsBeanTest
 
testGetInstance() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testGetItemId() - Method in class unc.cdva.interactiveitems.InteractiveItemTest
 
testGetItems() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testGetPosition() - Method in class unc.cdva.utils.PdsBeanTest
 
testGetProjectileStartPos() - Method in class unc.cdva.interactiveitems.GunTest
 
testGetProjectileStartPosForArbDirections() - Method in class unc.cdva.interactiveitems.GunTest
 
testGetScaling() - Method in class unc.cdva.utils.PdsBeanTest
 
testHashCode() - Method in class unc.cdva.utils.IdTest
 
testIdGeneration() - Method in class unc.cdva.utils.TaggedObjectTest
 
TestingUtil - Class in unc.cdva.testutils
Provides utility methods hopefully helpful for testing.
TestingUtilTest - Class in unc.cdva.testutils
 
TestingUtilTest() - Constructor for class unc.cdva.testutils.TestingUtilTest
 
testInit() - Method in class unc.cdva.gameengine.entities.PlayerTest
 
testInitLevel() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testIntToLong() - Method in class unc.cdva.utils.UtilTest
 
testIsEndGame() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testIsEndLevel() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testLength() - Method in class unc.cdva.utils.MyVector3fTest
 
testLoadTargets() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testMove() - Method in class unc.cdva.gameengine.managers.ItemManagerTest
 
testPlayer() - Method in class unc.cdva.gameengine.entities.PlayerTest
 
testStateTransitions() - Method in class unc.cdva.interactiveitems.GunTest
 
testSub() - Method in class unc.cdva.utils.MyVector3fTest
 
TextFileReader - Class in unc.cdva.utils
Utility class that helps you to read a text file from the hard drive
TextFileReader() - Constructor for class unc.cdva.utils.TextFileReader
 
TextureAnimatedObject - Class in unc.cdva.graphics.models
Encapsulate an object with a texture based animation
TextureAnimatedObject(StaticListObject, TextureAnimation) - Constructor for class unc.cdva.graphics.models.TextureAnimatedObject
Inits a texture animated object with a base object and an animation
TextureAnimation - Class in unc.cdva.graphics.animations
Class implementing a texture based animation of an object.
TextureAnimation(TextureAnimationHandler) - Constructor for class unc.cdva.graphics.animations.TextureAnimation
Create a TextureAnimation object, and attach to it a handler
TextureAnimationHandler - Class in unc.cdva.graphics.animations
Super class for texture animation handler objects.
TextureAnimationHandler(String, int) - Constructor for class unc.cdva.graphics.animations.TextureAnimationHandler
Instantiates the pathway end handler, loads textures from file.
textures - Variable in class unc.cdva.graphics.animations.TextureAnimationHandler
Stores the texture objects.
TIMER_RATE - Static variable in class unc.cdva.utils.Constants
How fast the game timer ticks (in ms)
toString() - Method in class unc.cdva.graphics.models.ShaderProgram
 
toString() - Method in class unc.cdva.utils.Id
Turns the Id into a string
toString() - Method in class unc.cdva.utils.MyVector3f
 
toString() - Method in class unc.cdva.utils.PdsBean
Returns a string which holds the position, direction, and scaling of this object
toVector3f() - Method in class unc.cdva.utils.MyVector3f
 
transformToWorldCoordinates(ClickEvent) - Method in interface unc.cdva.events.clickevents.ClickEventListener
Invoked when the screen coordinates are transformed to world coordinates
transformToWorldCoordinates(ClickEvent) - Method in class unc.cdva.renderingengine.RenderingEngine
 

U

UIEvent - Class in unc.cdva.events.uievents
Define the UIEvents.
UIEvent(Object, Widget) - Constructor for class unc.cdva.events.uievents.UIEvent
Constructor which creates a new EventObject and set the widget of this object
UIEvent(Object, int, int, float, float) - Constructor for class unc.cdva.events.uievents.UIEvent
Constructor which creates a new EventObject, sets the x and y values of this object, and sets the 3D x and y values of this object
UIEvent(Object) - Constructor for class unc.cdva.events.uievents.UIEvent
Constructor which creates a new EventObject
UIEventListener - Interface in unc.cdva.events.uievents
Listener interface for the UIEvents
uiEventlisteners - Variable in class unc.cdva.gameengine.GameEngine
 
UIManager - Class in unc.cdva.renderingengine.gui
This manager takes care of the UI.
unc.cdva.events - package unc.cdva.events
 
unc.cdva.events.clickevents - package unc.cdva.events.clickevents
 
unc.cdva.events.gameevents - package unc.cdva.events.gameevents
 
unc.cdva.events.graphicsevents - package unc.cdva.events.graphicsevents
 
unc.cdva.events.uievents - package unc.cdva.events.uievents
 
unc.cdva.gameengine - package unc.cdva.gameengine
 
unc.cdva.gameengine.entities - package unc.cdva.gameengine.entities
 
unc.cdva.gameengine.managers - package unc.cdva.gameengine.managers
 
unc.cdva.gameengine.timer - package unc.cdva.gameengine.timer
 
unc.cdva.graphics.animations - package unc.cdva.graphics.animations
 
unc.cdva.graphics.models - package unc.cdva.graphics.models
 
unc.cdva.interactiveitems - package unc.cdva.interactiveitems
 
unc.cdva.problems - package unc.cdva.problems
 
unc.cdva.renderingengine - package unc.cdva.renderingengine
 
unc.cdva.renderingengine.gui - package unc.cdva.renderingengine.gui
 
unc.cdva.renderingengine.gui.listeners - package unc.cdva.renderingengine.gui.listeners
 
unc.cdva.riverassault - package unc.cdva.riverassault
 
unc.cdva.testmocks - package unc.cdva.testmocks
 
unc.cdva.testutils - package unc.cdva.testutils
 
unc.cdva.utils - package unc.cdva.utils
 
unfreezeFireWindows(UIEvent) - Method in interface unc.cdva.events.uievents.UIEventListener
Invoked when you fire, and block the other windows
unfreezeFireWindows(UIEvent) - Method in class unc.cdva.renderingengine.gui.UIManager
 
unfreezeGame(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when you resume the game
unfreezeGame(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
uniformVariables - Variable in class unc.cdva.graphics.models.ShaderProgram
List of the uniform variables used by the program
update(GameEvent) - Method in interface unc.cdva.events.gameevents.GameEventListener
Invoked when the game engine is updated and the screen re-drawn
update(GameEvent) - Method in class unc.cdva.gameengine.GameEngine
 
update(int) - Method in class unc.cdva.graphics.animations.TextureAnimation
Update the animation
update(int) - Method in class unc.cdva.graphics.models.TextureAnimatedObject
Update the animation
updateDisplayList(GraphicsEvent) - Method in interface unc.cdva.events.graphicsevents.GraphicsEventListener
Invoked when the display list has to be updated
updateDisplayList(GraphicsEvent) - Method in class unc.cdva.renderingengine.GraphicsManager
 
use() - Method in class unc.cdva.graphics.models.ShaderProgram
Activate the shader program
Util - Class in unc.cdva.utils
Utility class
Util() - Constructor for class unc.cdva.utils.Util
 
UtilTest - Class in unc.cdva.utils
 
UtilTest() - Constructor for class unc.cdva.utils.UtilTest
 

V

valueOf(String) - Static method in enum unc.cdva.events.gameevents.GameEventType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum unc.cdva.problems.ProblemType
Returns the enum constant of this type with the specified name.
values() - Static method in enum unc.cdva.events.gameevents.GameEventType
Returns an array containing the constants of this enum type, in the order they're declared.
values() - Static method in enum unc.cdva.problems.ProblemType
Returns an array containing the constants of this enum type, in the order they're declared.
vertexObject - Variable in class unc.cdva.graphics.models.ShaderProgram
Vertex program id

W

waitForFire() - Method in class unc.cdva.interactiveitems.Reticle
Puts the reticle in teh 'wait for fire' state.
waitForGun(long) - Method in class unc.cdva.interactiveitems.Reticle
'P
waitForValue() - Method in class unc.cdva.interactiveitems.Reticle
Puts the reticle into the 'wait for value' state.
writeFile() - Method in class unc.cdva.gameengine.managers.PreferencesManager
 

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