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

G

G - Static variable in class game.physics.CDynamicShape
 
G - Static variable in class game.sound.CSoundLib
 
G_MASK - Static variable in class game.graphics.image.CImageProcessor
 
G_OFFSET - Static variable in class game.graphics.image.CImageProcessor
 
game - package game
Root package, contains IGame and IGameDisplay interfaces, and CGameCanvas and CGameLoop classes.
game.application - package game.application
Contains both an applet and a frame, both implementing IGameApplication and containing a CGameCanvas.
game.controller - package game.controller
Contains implementations of a keyboard-based game controller and a mouse controller.
game.geom - package game.geom
Definition of a 2D float-based vector and a 2D float-based bounding box.
game.graphics - package game.graphics
Contains various graphical entities, including the IGraphicObject interface.
game.graphics.image - package game.graphics.image
Contains classes enabling pixel operations such as sub-pixel scrolling, gaussian blur, zoom & rotation.
game.graphics.layer - package game.graphics.layer
Set of classes implementing layered drawing.
game.graphics.sprite - package game.graphics.sprite
Contains the sprite handling classes.
game.graphics.text - package game.graphics.text
Text displaying classes (contains CBitmapFont and COnscreenMessage).
game.physics - package game.physics
Set of abstract classes usefull for defining graphical objects in a physical world.
game.score - package game.score
Score management (score and highscore).
game.sound - package game.sound
Contains the CSoundPlayer class used by the game to output sounds.
game.time - package game.time
Contains a time averaging class.
GAME_BG_COLOR - Static variable in class game.CGameCanvas
 
Gb - Static variable in class game.sound.CSoundLib
 
generateBGImage() - Method in class game.CGameCanvas
Computes the background image.
generateIntroImage() - Method in class game.CGameCanvas
Computes the intro (credits) image.
generateModulation(float, float, float) - Static method in class game.sound.CSoundPlayer
Generates a sine modulation between two frequencies and store it in a byte array.
generateSparkles(CVector2D, CVector2D) - Method in class game.CGameCanvas
Generates sparkles.
generateTimeIntervals(float) - Method in class game.graphics.sprite.CAnimatedSprite
Generates an array of equal time intervals.
getA(int) - Method in class game.graphics.image.CImageProcessor
 
getARGB(int, int, int, int) - Static method in class game.graphics.image.CImageProcessor
 
getB(int) - Method in class game.graphics.image.CImageProcessor
 
getBlueFont() - Method in class game.CGameCanvas
 
getBlueFont() - Method in interface game.IGameDisplay
 
getBlurKernel() - Static method in class game.graphics.image.CImageProcessor
Returns a 3x3 blur kernel.
getBoldFont() - Method in class game.CGameCanvas
 
getBoldFont() - Method in interface game.IGameDisplay
 
getBufferedImage() - Method in class game.graphics.image.CImageProcessor
 
getByteArray() - Method in class game.sound.CSoundFrameData
Get the stored data.
getCenter() - Method in class game.geom.CBoundingBox
 
getCenter() - Method in interface game.graphics.IGraphicObject
 
getCenter() - Method in class game.physics.CStaticShape
Returns the center of the shape's bounding box.
getCenterX() - Method in class game.geom.CBoundingBox
 
getCenterY() - Method in class game.geom.CBoundingBox
 
getCharIndex(char) - Method in class game.graphics.text.CBitmapFont
Returns the index of the char in the image array.
getCharWidth(int) - Method in class game.graphics.text.CBitmapFont
Retrieves a char width assuming it has an image.
getDefaultFont() - Method in class game.CGameCanvas
 
getDefaultFont() - Method in interface game.IGameDisplay
 
getDt() - Method in class game.CGameLoop
Computes the amount of time the animation should advance of.
getDt(long) - Method in class game.time.CAverageTimer
By supplying the current time (by using System.currentTimeMillis()) we calculate the average time over the past NB_SAMPLES frames, and record this current time to continue keeping the average accurate as possible.
getDx() - Method in class game.controller.CMouseController
 
getDy() - Method in class game.controller.CMouseController
 
getEdgeKernel() - Static method in class game.graphics.image.CImageProcessor
 
getEmbossKernel() - Static method in class game.graphics.image.CImageProcessor
 
getFps() - Method in class game.CGameLoop
Effective framerate.
getG(int) - Method in class game.graphics.image.CImageProcessor
 
getGaussianBlurKernel() - Static method in class game.graphics.image.CImageProcessor
Returns a 3x3 gaussian blur kernel.
getGraphics() - Method in class game.graphics.image.CImageProcessor
Allows standard AWT drawing on the buffer.
getGreenFont() - Method in class game.CGameCanvas
 
getGreenFont() - Method in interface game.IGameDisplay
 
getH() - Method in class game.geom.CBoundingBox
 
getHeight() - Method in class game.graphics.text.CBitmapFont
 
getHeight() - Method in interface game.IGameDisplay
 
getHi() - Method in class game.geom.CBoundingBox
 
getHighScore() - Method in class game.score.CHighscoreTable
 
getID() - Static method in class game.geom.CAffineTransform
Comodity function.
getImageOffsets() - Method in class game.graphics.image.CImageProcessor
Reads the first line of the contained image to determine subimages offsets
getIncrement() - Method in class game.score.CScoreManager
 
getLowY() - Method in class game.geom.CBoundingBox
 
getMultiplier() - Method in class game.score.CScoreManager
 
getNullMatrix() - Static method in class game.geom.CAffineTransform
Comodity function.
getR(int) - Method in class game.graphics.image.CImageProcessor
 
getRandomVector(float, float) - Static method in class game.geom.CVector2D
 
getRandomVector(float) - Static method in class game.geom.CVector2D
 
getRedFont() - Method in class game.CGameCanvas
 
getRedFont() - Method in interface game.IGameDisplay
 
getRightX() - Method in class game.geom.CBoundingBox
 
getRotationMatrix(float, float, float) - Static method in class game.geom.CAffineTransform
Generates a rotation matrix.
getRoundedMultiplier() - Method in class game.score.CScoreManager
 
getScore() - Method in class game.score.CScoreManager
 
getSharpenKernel() - Static method in class game.graphics.image.CImageProcessor
 
getSourceDataLine() - Method in class game.sound.CSoundPlayer
Returns the first available SourceDataLine, or null if they are all busy.
getSpaceWidth(char) - Method in class game.graphics.text.CBitmapFont
Returns a whitespace (eg. ' ' or '\t') width, assuming c represents a whitespace.
getStateID(int) - Method in class game.controller.CController
 
getStateID(int) - Method in class game.controller.CGameController
 
getStateID(int) - Method in class game.controller.CMouseController
 
getStringWidth(String) - Method in class game.graphics.text.CBitmapFont
String measuring tool.
getVelocity() - Method in interface game.graphics.IGraphicObject
 
getVelocity() - Method in class game.physics.CDynamicShape
 
getVelocity() - Method in class game.physics.CStaticShape
Returns a null vector (static shapes don't move).
getW() - Method in class game.geom.CBoundingBox
 
getW_2() - Method in class game.geom.CBoundingBox
 
getWi() - Method in class game.geom.CBoundingBox
 
getWidth() - Method in interface game.IGameDisplay
 
getX() - Method in class game.CGameCanvas
IGameDisplay implementation.
getX() - Method in class game.controller.CMouseController
 
getX() - Method in interface game.IGameDisplay
Can be used to translate the whole game surface.
getXi() - Method in class game.geom.CBoundingBox
 
getY() - Method in class game.CGameCanvas
IGameDisplay implementation.
getY() - Method in class game.controller.CMouseController
 
getY() - Method in interface game.IGameDisplay
Can be used to translate the whole game surface.
getYi() - Method in class game.geom.CBoundingBox
 
getZoomMatrix(float, float, float) - Static method in class game.geom.CAffineTransform
Generates a zoom matrix.

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