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

C

COLLINEAR - Static variable in class com.brackeen.javagamebook.bsp2D.BSPLine
 
CollisionDetection - class com.brackeen.javagamebook.game.CollisionDetection.
The CollisionDetection class handles collision detection between the GameObjects, and between GameObjects and a BSP tree.
CollisionDetection(BSPTree) - Constructor for class com.brackeen.javagamebook.game.CollisionDetection
Creates a new CollisionDetection object for the specified BSP tree.
CollisionDetectionWithSliding - class com.brackeen.javagamebook.game.CollisionDetectionWithSliding.
The CollisionDetectionWithSliding class handles collision detection between the GameObjects, and between GameObjects and a BSP tree.
CollisionDetectionWithSliding(BSPTree) - Constructor for class com.brackeen.javagamebook.game.CollisionDetectionWithSliding
Creates a new CollisionDetectionWithSliding object for the specified BSP tree.
calcBoundingRectangle() - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Calculates and returns the smallest bounding rectangle for this polygon.
calcBoundingRectangle() - Method in class com.brackeen.javagamebook.math3D.TexturedPolygon3D
Calculates the bounding rectangle for this polygon that is aligned with the texture bounds.
calcBounds() - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Calculates the 2D boundary of all the polygons in this BSP tree.
calcFrameRate() - Method in class com.brackeen.javagamebook.test.GameCore3D
 
calcNormal() - Method in class com.brackeen.javagamebook.bsp2D.BSPLine
Calculates the normal to this line.
calcNormal() - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Calculates the unit-vector normal of this polygon.
canHear(GameObject) - Method in class com.brackeen.javagamebook.ai.AIBot
Checks if this object can hear the specified object.
canSee(GameObject) - Method in class com.brackeen.javagamebook.ai.AIBot
Checks if this object can see the specified object, (assuming this object has eyes in the back of its head).
cancel() - Method in class com.brackeen.javagamebook.scripting.GameTask
Cancels this task.
ceil(float) - Static method in class com.brackeen.javagamebook.util.MoreMath
Faster ceil function to convert a float to an int.
ceilHeight - Variable in class com.brackeen.javagamebook.bsp2D.BSPTree.Leaf
 
chance(float) - Static method in class com.brackeen.javagamebook.util.MoreMath
Returns true if a random "event" occurs.
chasePathFinder - Variable in class com.brackeen.javagamebook.ai.Brain
 
check(long) - Method in class com.brackeen.javagamebook.scripting.GameTask
Checks to see if this GameTask is ready to execute, and if so, it is executed.
checkBSP(GameObject, Vector3D, long) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Checks a GameObject against the BSP tree.
checkBounds(int, int) - Method in class com.brackeen.javagamebook.graphics3D.FastTexturedPolygonRenderer.ShadedSurfaceRenderer
 
checkBounds(int, int) - Method in class com.brackeen.javagamebook.graphics3D.ZBufferedRenderer.ShadedSurfaceZRenderer
 
checkDepth(int, short) - Method in class com.brackeen.javagamebook.graphics3D.ZBuffer
Checks the depth at the specified offset, and if the specified depth is lower (is greater than or equal to the current depth at the specified offset), then the depth is set and this method returns true.
checkObject(GameObject, List, Vector3D) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Checks if the specified object collisions with any other object in the specified list.
checkObject(GameObject, GameObject, Vector3D) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Returns true if the two specified objects collide.
checkObjectCollision(GameObject, Vector3D) - Method in class com.brackeen.javagamebook.game.GridGameObjectManager
Checks to see if the specified object collides with any other object.
checkWalls(GameObject, Vector3D, long) - Method in class com.brackeen.javagamebook.game.CollisionDetection
Checks for a game object collision with the walls of the BSP tree.
checkWalls(GameObject, Vector3D, long) - Method in class com.brackeen.javagamebook.game.CollisionDetectionWithSliding
Checks for a game object collision with the walls of the BSP tree.
chooseBattleState() - Method in class com.brackeen.javagamebook.ai.AIBot
 
clear() - Method in class com.brackeen.javagamebook.graphics3D.ScanConverter.Scan
Clears this scan line.
clear() - Method in class com.brackeen.javagamebook.graphics3D.SortedScanConverter
Clears the current view scan.
clear() - Method in class com.brackeen.javagamebook.graphics3D.ZBuffer
Clears the z-buffer.
clear() - Method in class com.brackeen.javagamebook.scripting.GameTaskManager
Clears the task queue.
clearMap(GameAction) - Method in class com.brackeen.javagamebook.input.InputManager
Clears all mapped keys and mouse actions to this GameAction.
clearSurface() - Method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Clears this surface, allowing the garbage collector to remove it from memory if needed.
clip(float) - Method in class com.brackeen.javagamebook.math3D.Polygon3D
Clips this polygon so that all vertices are in front of the clip plane, clipZ (in other words, all vertices have z <= clipZ).
clone() - Method in class com.brackeen.javagamebook.ai.Brain
 
clone(Vector3D[]) - Method in class com.brackeen.javagamebook.bsp2D.BSPPolygon
Clone this polygon, but with a different set of vertices.
clone() - Method in class com.brackeen.javagamebook.graphics.Animation
Creates a duplicate of this animation.
clone() - Method in class com.brackeen.javagamebook.graphics.Sprite
Clones this Sprite.
clone() - Method in class com.brackeen.javagamebook.math3D.MovingTransform3D
 
clone() - Method in class com.brackeen.javagamebook.math3D.PolygonGroup
Clones this polygon group.
clone() - Method in class com.brackeen.javagamebook.math3D.Transform3D
 
close() - Method in class com.brackeen.javagamebook.sound.MidiPlayer
Closes the sequencer.
close() - Method in class com.brackeen.javagamebook.sound.SoundManager
 
close() - Method in class com.brackeen.javagamebook.util.LoopingByteInputStream
Closes the stream.
close() - Method in class com.brackeen.javagamebook.util.ThreadPool
Closes this ThreadPool and returns immediately.
com.brackeen.javagamebook.ai - package com.brackeen.javagamebook.ai
 
com.brackeen.javagamebook.ai.pattern - package com.brackeen.javagamebook.ai.pattern
 
com.brackeen.javagamebook.bsp2D - package com.brackeen.javagamebook.bsp2D
 
com.brackeen.javagamebook.game - package com.brackeen.javagamebook.game
 
com.brackeen.javagamebook.graphics - package com.brackeen.javagamebook.graphics
 
com.brackeen.javagamebook.graphics3D - package com.brackeen.javagamebook.graphics3D
 
com.brackeen.javagamebook.graphics3D.texture - package com.brackeen.javagamebook.graphics3D.texture
 
com.brackeen.javagamebook.input - package com.brackeen.javagamebook.input
 
com.brackeen.javagamebook.math3D - package com.brackeen.javagamebook.math3D
 
com.brackeen.javagamebook.path - package com.brackeen.javagamebook.path
 
com.brackeen.javagamebook.scripting - package com.brackeen.javagamebook.scripting
 
com.brackeen.javagamebook.shooter3D - package com.brackeen.javagamebook.shooter3D
 
com.brackeen.javagamebook.sound - package com.brackeen.javagamebook.sound
 
com.brackeen.javagamebook.test - package com.brackeen.javagamebook.test
 
com.brackeen.javagamebook.util - package com.brackeen.javagamebook.util
 
compareTo(Object) - Method in class com.brackeen.javagamebook.path.AStarNode
 
convert(Polygon3D) - Method in class com.brackeen.javagamebook.graphics3D.ScanConverter
Scan-converts a projected polygon.
convert(Polygon3D) - Method in class com.brackeen.javagamebook.graphics3D.SortedScanConverter
Scan-converts a polygon, and if sortedMode is on, adds and clips it to a list of what's in the view window.
convertFromScreenXToViewX(float) - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Converts an x coordinate on the screen to the corresponding x coordinate on this view window.
convertFromScreenYToViewY(float) - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Converts an y coordinate on the screen to the corresponding y coordinate on this view window.
convertFromViewXToScreenX(float) - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Converts an x coordinate on this view window to the corresponding x coordinate on the screen.
convertFromViewYToScreenY(float) - Method in class com.brackeen.javagamebook.math3D.ViewWindow
Converts a y coordinate on this view window to the corresponding y coordinate on the screen.
countbits(int) - Static method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Counts the number of "on" bits in an integer.
createCompatibleImage(int, int, int) - Method in class com.brackeen.javagamebook.graphics.ScreenManager
Creates an image compatible with the current display.
createHorizontalPolygons() - Method in class com.brackeen.javagamebook.bsp2D.RoomDef
Creates and returns a list of BSPPolygons that represent the horizontal floor and ceiling of this room.
createPolygonRenderer() - Method in class com.brackeen.javagamebook.shooter3D.ShooterCore
 
createPolygonRenderer() - Method in class com.brackeen.javagamebook.test.GameCore3D
 
createPolygons() - Method in class com.brackeen.javagamebook.bsp2D.RoomDef
Creates and returns a list of BSPPolygons that represent the walls, floor, and ceiling of this room.
createPolygons() - Method in class com.brackeen.javagamebook.shooter3D.ShooterCore
 
createPolygons() - Method in class com.brackeen.javagamebook.test.GameCore3D
 
createShadedSurface(TexturedPolygon3D, ShadedTexture, List, float) - Static method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Creates a ShadedSurface for the specified polygon.
createShadedSurface(TexturedPolygon3D, ShadedTexture, Rectangle3D, List, float) - Static method in class com.brackeen.javagamebook.graphics3D.texture.ShadedSurface
Creates a ShadedSurface for the specified polygon.
createSurfaces(List) - Method in class com.brackeen.javagamebook.bsp2D.BSPTree
Creates surface textures for every polygon in this tree.
createTexture(String) - Static method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Creates an unshaded Texture from the specified image file.
createTexture(String, boolean) - Static method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Creates an Texture from the specified image file.
createTexture(BufferedImage) - Static method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Creates an unshaded Texture from the specified image.
createTexture(BufferedImage, boolean) - Static method in class com.brackeen.javagamebook.graphics3D.texture.Texture
Creates an Texture from the specified image.
createVerticalPolygons() - Method in class com.brackeen.javagamebook.bsp2D.RoomDef
Creates and returns a list of BSPPolygons that represent the vertical walls of this room.

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