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

G

GameAction - class com.brackeen.javagamebook.input.GameAction.
The GameAction class is an abstract to a user-initiated action, like jumping or moving.
GameAction(String) - Constructor for class com.brackeen.javagamebook.input.GameAction
Create a new GameAction with the NORMAL behavior.
GameAction(String, int) - Constructor for class com.brackeen.javagamebook.input.GameAction
Create a new GameAction with the specified behavior.
GameCore - class com.brackeen.javagamebook.test.GameCore.
Simple abstract class used for testing.
GameCore() - Constructor for class com.brackeen.javagamebook.test.GameCore
 
GameCore3D - class com.brackeen.javagamebook.test.GameCore3D.
 
GameCore3D() - Constructor for class com.brackeen.javagamebook.test.GameCore3D
 
GameObject - class com.brackeen.javagamebook.game.GameObject.
A GameObject class is a base class for any type of object in a game that is represented by a PolygonGroup.
GameObject(PolygonGroup) - Constructor for class com.brackeen.javagamebook.game.GameObject
Creates a new GameObject represented by the specified PolygonGroup.
GameObjectEventListener - interface com.brackeen.javagamebook.scripting.GameObjectEventListener.
Interface to receive GameObject notification events.
GameObjectEventMulticaster - class com.brackeen.javagamebook.scripting.GameObjectEventMulticaster.
Adapter to multicast GameObject notifications to multiple listeners.
GameObjectEventMulticaster(GameObjectEventListener, GameObjectEventListener) - Constructor for class com.brackeen.javagamebook.scripting.GameObjectEventMulticaster
 
GameObjectManager - interface com.brackeen.javagamebook.game.GameObjectManager.
The GameObjectManager interface provides methods to keep track of and draw GameObjects.
GameObjectRenderer - interface com.brackeen.javagamebook.game.GameObjectRenderer.
The GameObjectRenderer interface provides a method for drawing a GameObject.
GameTask - class com.brackeen.javagamebook.scripting.GameTask.
A game task that can be scheduled for one-time execution.
GameTask(long, Runnable) - Constructor for class com.brackeen.javagamebook.scripting.GameTask
Creates a new GameTask that will execute the specified Runnable after a delay.
GameTaskManager - class com.brackeen.javagamebook.scripting.GameTaskManager.
Manages a queue of GameTask objects.
GameTaskManager() - Constructor for class com.brackeen.javagamebook.scripting.GameTaskManager
Creates a new GameTaskManager with a empty task queue.
GridGameObjectManager - class com.brackeen.javagamebook.game.GridGameObjectManager.
The GridGameObjectManager is a GameObjectManager that integrally arranges GameObjects on a 2D grid for visibility determination and to limit the number of tests for collision detection.
GridGameObjectManager(Rectangle, CollisionDetection) - Constructor for class com.brackeen.javagamebook.game.GridGameObjectManager
Creates a new GridGameObjectManager with the specified map bounds and collision detection handler.
gameLoop() - Method in class com.brackeen.javagamebook.test.GameCore
Runs through the game loop until stop() is called.
getAiState() - Method in class com.brackeen.javagamebook.ai.AIBot
Gets the AI state for this bot (different frm the GameObject state).
getAmbientLightIntensity() - Method in class com.brackeen.javagamebook.bsp2D.BSPPolygon
 
getAmbientLightIntensity() - Method in class com.brackeen.javagamebook.graphics3D.ShadedTexturedPolygonRenderer
Gets the ambient light intensity.
getAmount() - Method in class com.brackeen.javagamebook.input.GameAction
For keys, this is the number of times the key was pressed since it was last checked.
getAngle() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the horizontal view angle of this view window.
getAngleVelocityX() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
Sets the angular speed of the x axis over the specified time.
getAngleVelocityY() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
Sets the angular speed of the y axis over the specified time.
getAngleVelocityZ() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
Sets the angular speed of the z axis over the specified time.
getAngleX() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getAngleY() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getAngleZ() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getArray() - Method in class com.brackeen.javagamebook.graphics3D.ZBuffer
Gets the array used for the depth buffer
getAudioInputStream(String) - Method in class com.brackeen.javagamebook.sound.SoundManager
Creates an AudioInputStream from a sound from the file system.
getAudioInputStream(InputStream) - Method in class com.brackeen.javagamebook.sound.SoundManager
Creates an AudioInputStream from a sound from an input stream
getBackLeaf(BSPLine) - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Gets the Leaf in back of the specified partition.
getBitCount(int) - Static method in class com.brackeen.javagamebook.util.MoreMath
Gets the number of "on" bits in an integer.
getBottomBoundary() - Method in class com.brackeen.javagamebook.graphics3D.ScanConverter
Gets the bottom boundary of the last scan-converted polygon.
getBottomHeight() - Method in class com.brackeen.javagamebook.math3D.PolygonGroupBounds
 
getBounds() - Method in class com.brackeen.javagamebook.game.GameObject
Gets the bounds of this object's PolygonGroup.
getCamera() - Method in class com.brackeen.javagamebook.graphics3D.PolygonRenderer
Gets the camera used for this PolygonRenderer.
getCeilHeight() - Method in class com.brackeen.javagamebook.game.GameObject
Gets the ceiling height set in the setCeilHeight method.
getCollinearNode(BSPLine) - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Gets the Node that is collinear with the specified partition, or null if no such node exists.
getColor(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.PowerOf2Texture
Gets the 16-bit color of the pixel at location (x,y) in the bitmap.
getColor(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Gets the 16-bit color of the pixel at location (x,y) in the bitmap.
getColor(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedTexture
Gets the 16-bit color of this Texture at the specified (x,y) location, using the default shade level.
getColor(int, int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedTexture
Gets the 16-bit color of this Texture at the specified (x,y) location, using the specified shade level.
getColor(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Gets the 16-bit color of this Texture at the specified (x,y) location.
getColor() - Method in class com.brackeen.javagamebook.math3D.SolidPolygon3D
Gets the color of this solid-colored polygon used for rendering this polygon.
getColorChecked(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Gets the 16-bit color of the pixel at location (x,y) in the bitmap.
getColorCurrRow(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedTexture
Gets the color at the specified x location at the specified shade level.
getCompatibleDisplayModes() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Returns a list of compatible display modes for the default device on the system.
getCosAngleX() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getCosAngleY() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getCosAngleZ() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getCost(AStarNode) - Method in class com.brackeen.javagamebook.bsp2D.Portal
 
getCost() - Method in class com.brackeen.javagamebook.path.AStarNode
 
getCost(AStarNode) - Method in class com.brackeen.javagamebook.path.AStarNode
Gets the cost between this node and the specified adjacent (aka "neighbor" or "child") node.
getCost(AStarNode) - Method in class com.brackeen.javagamebook.path.AStarSearchWithBSP.LeafNode
 
getCurrentDisplayMode() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Returns the current display mode.
getDefaultShadeLevel() - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedTexture
Gets the default shade level that is used when getColor() is called.
getDirectionU() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the direction of the base of this Rectangle3D.
getDirectionV() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the direction of the side of this Rectangle3D.
getDistance(Vector3D) - Method in class com.brackeen.javagamebook.math3D.Vector3D
Gets the distance between this vector and the specified vector.
getDistance() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the distance from the camera to to this view window.
getDistanceFalloff() - Method in class com.brackeen.javagamebook.math3D.PointLight3D
Gets the distances falloff value.
getDistanceSq(Vector3D) - Method in class com.brackeen.javagamebook.math3D.Vector3D
Gets the distance squared between this vector and the specified vector.
getDotProduct(Vector3D) - Method in class com.brackeen.javagamebook.math3D.Vector3D
Returns the dot product of this vector and the specified vector.
getEstimatedCost(AStarNode) - Method in class com.brackeen.javagamebook.bsp2D.Portal
 
getEstimatedCost(AStarNode) - Method in class com.brackeen.javagamebook.path.AStarNode
Gets the estimated cost between this node and the specified node.
getEstimatedCost(AStarNode) - Method in class com.brackeen.javagamebook.path.AStarSearchWithBSP.LeafNode
 
getFilename() - Method in class com.brackeen.javagamebook.math3D.PolygonGroup
Gets the filename of this PolygonGroup.
getFirstWallIntersection(float, float, float, float, float, float) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Gets the first intersection, if any, of the path (x1,z1)-> (x2,z2) with the walls of the BSP tree.
getFloorAndCeiling(GameObject) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Gets the floor and ceiling values for the specified GameObject.
getFloorHeight() - Method in class com.brackeen.javagamebook.game.GameObject
Gets the floor height set in the setFloorHeight method.
getFlyHeight() - Method in class com.brackeen.javagamebook.path.PathBot
 
getFrontLeaf(BSPLine) - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Gets the Leaf in front of the specified partition.
getFullScreenWindow() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Returns the window currently used in full screen mode.
getGraphics() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Gets the graphics context for the display.
getGravityAccel() - Method in class com.brackeen.javagamebook.game.Physics
Gets the gravity acceleration in units per millisecond squared.
getGroup(String) - Method in class com.brackeen.javagamebook.math3D.PolygonGroup
Gets the PolygonGroup in this group with the specified name, or null if none found.
getHealth() - Method in class com.brackeen.javagamebook.ai.AIBot
 
getHealth() - Method in class com.brackeen.javagamebook.shooter3D.Player
 
getHeight() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Returns the height of the window currently used in full screen mode.
getHeight() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets this Sprite's height, based on the size of the current image.
getHeight() - Method in class com.brackeen.javagamebook.graphics3D.ZBuffer
Gets the height of this z-buffer.
getHeight() - Method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Gets the height of this Texture.
getHeight() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the height of this Rectangle3D.
getHeight() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the height of this view window.
getImage() - Method in class com.brackeen.javagamebook.graphics.Animation
Gets this Animation's current image.
getImage() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets this Sprite's current image.
getInstance() - Static method in class com.brackeen.javagamebook.game.Physics
Gets the Physics instance.
getInstance() - Static method in class com.brackeen.javagamebook.shooter3D.MessageQueue
 
getIntensity(float) - Method in class com.brackeen.javagamebook.math3D.PointLight3D
Gets the intensity of this light from the specified distance.
getIntensity() - Method in class com.brackeen.javagamebook.math3D.PointLight3D
Gets the intensity of this light.
getInterpolatedShade(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Gets the shade (from the shade map) for the specified (u,v) location.
getIntersection(Line2D.Float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Returns the fraction of intersection along this line.
getIntersectionPoint(Line2D.Float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Returns the interection point of this line with the specified line.
getIntersectionPoint(Line2D.Float, Point2D.Float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Returns the interection of this line with the specified line.
getJumpVelocity(float) - Method in class com.brackeen.javagamebook.game.Physics
Returns the vertical velocity needed to jump the specified height (based on current gravity).
getKeyName(int) - Static method in class com.brackeen.javagamebook.input.InputManager
Gets the name of a key code.
getLeaf(float, float) - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Gets the leaf the x,z coordinates are in.
getLeftOffset() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the x offset of this view window on the screen.
getLightSource() - Method in class com.brackeen.javagamebook.graphics3D.ShadedTexturedPolygonRenderer
Gets the light source for this renderer.
getLine() - Method in class com.brackeen.javagamebook.bsp2D.BSPPolygon
Gets the line representing the BSPPolygon.
getListener() - Method in class com.brackeen.javagamebook.game.GameObject
Gets the GameObjectEventListener for this object.
getLocation() - Method in class com.brackeen.javagamebook.game.GameObject
Shortcut to get the location of this GameObject from the Transform3D.
getLocation() - Method in class com.brackeen.javagamebook.math3D.Transform3D
Gets the location (translation) of this transform.
getMaps(GameAction) - Method in class com.brackeen.javagamebook.input.InputManager
Gets a List of names of the keys and mouse actions mapped to this GameAction.
getMaxHealth() - Method in class com.brackeen.javagamebook.ai.AIBot
 
getMaxHealth() - Method in class com.brackeen.javagamebook.shooter3D.Player
 
getMaxSimultaneousSounds(AudioFormat) - Static method in class com.brackeen.javagamebook.sound.SoundManager
Gets the maximum number of simultaneous sounds with the specified AudioFormat that the default mixer can play.
getMidPoint() - Method in class com.brackeen.javagamebook.bsp2D.Portal
Gets the mid-point along this Portal's divider.
getMouseButtonCode(MouseEvent) - Static method in class com.brackeen.javagamebook.input.InputManager
Gets the mouse code for the button specified in this MouseEvent.
getMouseName(int) - Static method in class com.brackeen.javagamebook.input.InputManager
Gets the name of a mouse code.
getMouseX() - Method in class com.brackeen.javagamebook.input.InputManager
Gets the x position of the mouse.
getMouseY() - Method in class com.brackeen.javagamebook.input.InputManager
Gets the y position of the mouse.
getName() - Method in class com.brackeen.javagamebook.game.GameObject
Gets the name of this object's PolygonGroup.
getName() - Method in class com.brackeen.javagamebook.input.GameAction
Gets the name of this GameAction.
getName() - Method in class com.brackeen.javagamebook.math3D.PolygonGroup
Gets the name of this PolygonGroup.
getNeighbors() - Method in class com.brackeen.javagamebook.bsp2D.Portal
 
getNeighbors() - Method in class com.brackeen.javagamebook.path.AStarNode
Gets the children (aka "neighbors" or "adjacent nodes") of this node.
getNeighbors() - Method in class com.brackeen.javagamebook.path.AStarSearchWithBSP.LeafNode
 
getNewBrain() - Method in class com.brackeen.javagamebook.ai.EvolutionGenePool
Gets a new brain from the gene pool.
getNormal() - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Gets the normal of this polygon.
getNormal() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the normal of this Rectangle3D.
getNumScans(int) - Method in class com.brackeen.javagamebook.graphics3D.SortedScanConverter
Gets the number of scans for the specified row.
getNumVertices() - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Gets the number of vertices this polygon has.
getObjectsInMap() - Method in class com.brackeen.javagamebook.bsp2D.MapLoader
Gets a list of all objects degined in the map file.
getOrigin() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the origin of this Rectangle3D.
getPlayer() - Method in interface com.brackeen.javagamebook.game.GameObjectManager
Gets the object specified as the Player object, or null if no player object was specified.
getPlayer() - Method in class com.brackeen.javagamebook.game.GridGameObjectManager
Gets the object specified as the Player object, or null if no player object was specified.
getPlayer() - Method in class com.brackeen.javagamebook.game.SimpleGameObjectManager
Gets the object specified as the Player object, or null if no player object was specified.
getPlayerStartLocation() - Method in class com.brackeen.javagamebook.bsp2D.MapLoader
Gets the player start location defined in the map file.
getPolygonGroup() - Method in class com.brackeen.javagamebook.game.GameObject
Gets this object's PolygonGroup.
getRadius() - Method in class com.brackeen.javagamebook.math3D.PolygonGroupBounds
 
getRandomTopBrain() - Method in class com.brackeen.javagamebook.ai.EvolutionGenePool
Gets a random top-performing brain.
getRemainingMoveTime() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
Gets the amount of time remaining for this movement.
getRemainingSize() - Method in class com.brackeen.javagamebook.sound.EchoFilter
Gets the remaining size, in bytes, of samples that this filter can echo after the sound is done playing.
getRemainingSize() - Method in class com.brackeen.javagamebook.sound.FilterSequence
Returns the maximum remaining size of all SoundFilters in this FilterSequence.
getRemainingSize() - Method in class com.brackeen.javagamebook.sound.SoundFilter
Gets the remaining size, in bytes, that this filter plays after the sound is finished.
getRoot() - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Gets the root node of this tree.
getSample(byte[], int) - Static method in class com.brackeen.javagamebook.sound.SoundFilter
Convenience method for getting a 16-bit sample from a byte array.
getSamples() - Method in class com.brackeen.javagamebook.sound.Sound
Returns this Sound's objects samples as a byte array.
getScan(int) - Method in class com.brackeen.javagamebook.graphics3D.ScanConverter
Gets the scan line for the specified y value.
getScan(int, int) - Method in class com.brackeen.javagamebook.graphics3D.SortedScanConverter
Gets the nth scan for the specified row.
getScootAccel() - Method in class com.brackeen.javagamebook.game.Physics
Gets the scoot-up acceleration in units per millisecond squared.
getSequence(String) - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Loads a sequence from the file system.
getSequence(InputStream) - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Loads a sequence from an input stream.
getSequencer() - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Gets the sequencer.
getShade(int, int) - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Gets the shade (from the built shade map) for the specified (u,v) location.
getSide(Line2D.Float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Gets the side of this line that the specified line segment is on.
getSide(BSPPolygon) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Gets the side of this line that the specified polygon is on.
getSideThick(float, float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Gets the side of this line the specified point is on.
getSideThin(float, float) - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Gets the side of this line the specified point is on.
getSinAngleX() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getSinAngleY() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getSinAngleZ() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
getSound(String) - Method in class com.brackeen.javagamebook.sound.SoundManager
Loads a Sound from the file system.
getSound(InputStream) - Method in class com.brackeen.javagamebook.sound.SoundManager
Loads a Sound from an input stream.
getSound(AudioInputStream) - Method in class com.brackeen.javagamebook.sound.SoundManager
Loads a Sound from an AudioInputStream.
getSpawns() - Method in class com.brackeen.javagamebook.game.GameObject
Returns a list of "spawned" objects (projectiles, exploding parts, etc) or null if no objects were spawned.
getSurfaceBounds() - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Gets the surface bounds for this ShadedSurface.
getTexture() - Method in class com.brackeen.javagamebook.math3D.TexturedPolygon3D
Gets this polygon's texture.
getTextureBounds() - Method in class com.brackeen.javagamebook.math3D.TexturedPolygon3D
Gets this polygon's texture bounds.
getTopBoundary() - Method in class com.brackeen.javagamebook.graphics3D.ScanConverter
Gets the top boundary of the last scan-converted polygon.
getTopHeight() - Method in class com.brackeen.javagamebook.math3D.PolygonGroupBounds
 
getTopOffset() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the y offset of this view window on the screen.
getTransform() - Method in class com.brackeen.javagamebook.game.GameObject
Gets this object's transform.
getTransform() - Method in class com.brackeen.javagamebook.math3D.PolygonGroup
Gets the MovingTransform3D for this PolygonGroup.
getVelocity() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
Gets the velocity vector.
getVelocityX() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets the horizontal velocity of this Sprite in pixels per millisecond.
getVelocityY() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets the vertical velocity of this Sprite in pixels per millisecond.
getVertex(int) - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Gets the vertex at the specified index.
getWidth() - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Returns the width of the window currently used in full screen mode.
getWidth() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets this Sprite's width, based on the size of the current image.
getWidth() - Method in class com.brackeen.javagamebook.graphics3D.ZBuffer
Gets the width of this z-buffer.
getWidth() - Method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Gets the width of this Texture.
getWidth() - Method in class com.brackeen.javagamebook.math3D.Rectangle3D
Gets the width of this Rectangle3D.
getWidth() - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Gets the width of this view window.
getX() - Method in class com.brackeen.javagamebook.game.GameObject
Shortcut to get the X location of this GameObject.
getX() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets this Sprite's current x position.
getY() - Method in class com.brackeen.javagamebook.game.GameObject
Shortcut to get the Y location of this GameObject.
getY() - Method in class com.brackeen.javagamebook.graphics.Sprite
Gets this Sprite's current y position.
getZ() - Method in class com.brackeen.javagamebook.game.GameObject
Shortcut to get the Z location of this GameObject.

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