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

A

AbstractIsometricBackground - Class in com.golden.gamedev.object.background.abstraction
The base abstract class to create isometric background, the subclass need to perform the background tile rendering.
AbstractIsometricBackground(int, int, int, int, int, int) - Constructor for class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Creates new AbstractIsometricBackground as big as horiz, vert tiles, where each tile is as big as tileWidth, tileHeight with specified tile height offset, and starting y coordinate.
AbstractIsometricBackground(int, int, int, int) - Constructor for class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Creates new AbstractIsometricBackground as big as horiz, vert tiles, where each tile is as big as tileWidth, tileHeight.
AbstractTileBackground - Class in com.golden.gamedev.object.background.abstraction
The base abstract class to create tiling background, the subclass need to perform the background tile rendering.
AbstractTileBackground(int, int, int, int) - Constructor for class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Creates new AbstractTileBackground as big as horiz, vert tiles, where each tile is as big as tileWidth, tileHeight.
action(long) - Method in class com.golden.gamedev.object.Timer
Returns true, if the timer delay time has been elapsed, thus the action need to be performed.
actionPerformed(ActionEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Action listener for exit and copy to clipboard button.
actionPerformed(ActionEvent) - Method in class com.golden.gamedev.funbox.GameSettings
Notified when the user press 'OK' or 'Cancel' button.
add(Sprite) - Method in class com.golden.gamedev.object.PlayField
Inserts a sprite (extra sprite) directly into playfield, for example animation, explosion, etc.
add(Sprite) - Method in class com.golden.gamedev.object.SpriteGroup
Inserts sprite at the bottom (last index) of this group.
add(int, Sprite) - Method in class com.golden.gamedev.object.SpriteGroup
Inserts sprite at specified index, range from [0 - size].
addCollisionGroup(SpriteGroup, SpriteGroup, CollisionManager) - Method in class com.golden.gamedev.object.PlayField
Associates specified collision group to this playfield.
addGroup(SpriteGroup) - Method in class com.golden.gamedev.object.PlayField
Inserts new SpriteGroup into this playfield.
addHorizontalSpeed(long, double, double) - Method in class com.golden.gamedev.object.Sprite
Accelerates sprite horizontal speed by accel and limit the speed to maxSpeed.
addVerticalSpeed(long, double, double) - Method in class com.golden.gamedev.object.Sprite
Accelerates sprite vertical speed by accel and limit the speed to maxSpeed.
AdvanceBitmapFont - Class in com.golden.gamedev.object.font
Game font that use images for the letter, each images can have different width but must have same height.
AdvanceBitmapFont(BufferedImage[], String) - Constructor for class com.golden.gamedev.object.font.AdvanceBitmapFont
Creates new AdvanceBitmapFont with specified images font and letter sequence.
AdvanceBitmapFont(BufferedImage[]) - Constructor for class com.golden.gamedev.object.font.AdvanceBitmapFont
Creates new AdvanceBitmapFont with specified images font and default letter sequence : !
AdvanceCollisionGroup - Class in com.golden.gamedev.object.collision
Accurates collision check that able to check collision between one sprite with many sprites (one to many collision check).
AdvanceCollisionGroup() - Constructor for class com.golden.gamedev.object.collision.AdvanceCollisionGroup
Constructs new AdvanceCollisionGroup.
AdvanceSprite - Class in com.golden.gamedev.object.sprite
AdvanceSprite class is animated sprite that has status and direction attributes, that way the animation is fully controlled by its status and direction.
AdvanceSprite(BufferedImage[], double, double) - Constructor for class com.golden.gamedev.object.sprite.AdvanceSprite
Creates new AdvanceSprite with specified images and location.
AdvanceSprite(BufferedImage[]) - Constructor for class com.golden.gamedev.object.sprite.AdvanceSprite
Creates new AdvanceSprite with specified images and located at (0, 0).
AdvanceSprite(double, double) - Constructor for class com.golden.gamedev.object.sprite.AdvanceSprite
Creates new AdvanceSprite with specified location.
AdvanceSprite() - Constructor for class com.golden.gamedev.object.sprite.AdvanceSprite
Creates new AdvanceSprite with null image and located at (0, 0).
AdvanceSpriteGroup - Class in com.golden.gamedev.object
Subclass of SpriteGroup that designed to update and render visible on the screen sprites only.
AdvanceSpriteGroup(String, int, int, int, int) - Constructor for class com.golden.gamedev.object.AdvanceSpriteGroup
Creates new AdvanceSpriteGroup with specified name, and specified screen offset on each side.
AdvanceSpriteGroup(String, int) - Constructor for class com.golden.gamedev.object.AdvanceSpriteGroup
Creates new AdvanceSpriteGroup with specified name, and specified screen offset.
AdvanceSpriteGroup(String) - Constructor for class com.golden.gamedev.object.AdvanceSpriteGroup
Creates new AdvanceSpriteGroup with specified name without screen offset (0, 0, 0, 0).
AnimatedSprite - Class in com.golden.gamedev.object
AnimatedSprite class is sprite that use several images and can be animated.
AnimatedSprite(BufferedImage[], double, double) - Constructor for class com.golden.gamedev.object.AnimatedSprite
Creates new AnimatedSprite with specified images and location.
AnimatedSprite(BufferedImage[]) - Constructor for class com.golden.gamedev.object.AnimatedSprite
Creates new AnimatedSprite with specified images and located at (0, 0).
AnimatedSprite(double, double) - Constructor for class com.golden.gamedev.object.AnimatedSprite
Creates new AnimatedSprite with null image to specified location.
AnimatedSprite() - Constructor for class com.golden.gamedev.object.AnimatedSprite
Creates new AnimatedSprite with null image and located at (0, 0).
animationChanged(int, int, int, int) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
The sprite status and/or direction is changed, set appropriate sprite animation.
AppletMode - Class in com.golden.gamedev.engine.graphics
Graphics engine for Applet Environment.
AppletMode() - Constructor for class com.golden.gamedev.engine.graphics.AppletMode
Creates new instance of Applet Graphics Engine, please see note below.
applyMask(Image, Color) - Static method in class com.golden.gamedev.util.ImageUtil
Applying mask into image by specified masking color.
AWTInput - Class in com.golden.gamedev.engine.input
Input engine using AWT Component as the input listener.
AWTInput(Component) - Constructor for class com.golden.gamedev.engine.input.AWTInput
Creates new AWT Input from specified component.
AWTInput.InputListener - Class in com.golden.gamedev.engine.input
The real class that listening the AWT Input Event.
AWTInput.InputListener() - Constructor for class com.golden.gamedev.engine.input.AWTInput.InputListener
 

B

Background - Class in com.golden.gamedev.object
Background is the area where every sprites lived.
Background(int, int) - Constructor for class com.golden.gamedev.object.Background
Creates new Background with specified size, and default clipping area (as large as screen size).
Background() - Constructor for class com.golden.gamedev.object.Background
Creates new Background, with size and clipping area as large as screen size.
BaseAudio - Class in com.golden.gamedev.engine
Audio manager that manages playing, stopping, looping of multiple audio sounds (BaseAudioRenderers).
BaseAudio(BaseIO, BaseAudioRenderer) - Constructor for class com.golden.gamedev.engine.BaseAudio
Creates new audio manager with specified renderer as the base renderer of all audio sounds created by this audio manager.
BaseAudioRenderer - Class in com.golden.gamedev.engine
A simple abstraction for playing audio sound.
BaseAudioRenderer() - Constructor for class com.golden.gamedev.engine.BaseAudioRenderer
Creates new audio renderer.
BaseGraphics - Interface in com.golden.gamedev.engine
BaseGraphics interface provides all needed graphics function for drawing unto screen.
BaseInput - Interface in com.golden.gamedev.engine
BaseInput interface provides all needed functions for polling keyboard and mouse input.
BaseIO - Class in com.golden.gamedev.engine
Class to get external resources object, such as java.io.File, java.io.InputStream, and java.net.URL.
BaseIO(Class, int) - Constructor for class com.golden.gamedev.engine.BaseIO
Construct new BaseIO with specified class as the base loader, and specified IO mode (one of BaseIO.CLASS_URL, BaseIO.WORKING_DIRECTORY, BaseIO.CLASS_LOADER, or BaseIO.SYSTEM_LOADER).
BaseIO(Class) - Constructor for class com.golden.gamedev.engine.BaseIO
Construct new BaseIO with specified class as the base loader using BaseIO.CLASS_URL mode as the default.
BaseLoader - Class in com.golden.gamedev.engine
Class for loading and masking images, and also behave as storage of the loaded images.
BaseLoader(BaseIO, Color) - Constructor for class com.golden.gamedev.engine.BaseLoader
Constructs new BaseLoader with specified I/O loader, and masking color.
BaseTimer - Interface in com.golden.gamedev.engine
BaseTimer interface is an interface for running a loop constantly in a requested frame per second.
BasicCollisionGroup - Class in com.golden.gamedev.object.collision
Basic collision check, only check whether a collision occured or not.
BasicCollisionGroup() - Constructor for class com.golden.gamedev.object.collision.BasicCollisionGroup
Creates new BasicCollisionGroup.
BitmapFont - Class in com.golden.gamedev.object.font
Game font that use images for the letter, all the images must have equal dimension (same width and height).
BitmapFont(BufferedImage[], String) - Constructor for class com.golden.gamedev.object.font.BitmapFont
Creates new BitmapFont with specified images font and letter sequence.
BitmapFont(BufferedImage[]) - Constructor for class com.golden.gamedev.object.font.BitmapFont
Creates new BitmapFont with specified images font and default letter sequence : !
BOTTOM_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionBounds
Indicates the sprite is collided at its bottom.
BOTTOM_TOP_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionGroup
Indicates the collision side of the collided sprites is the bottom of first sprite againts the top of other sprite.
bsGraphics - Variable in class com.golden.gamedev.funbox.ErrorNotificationDialog
The graphics engine used by the game.
bsGraphics - Variable in class com.golden.gamedev.Game
Graphics engine.
bsGraphics - Variable in class com.golden.gamedev.GameObject
Graphics engine.
bsInput - Variable in class com.golden.gamedev.Game
Input engine.
bsInput - Variable in class com.golden.gamedev.GameObject
Input engine.
bsIO - Variable in class com.golden.gamedev.Game
I/O file engine.
bsIO - Variable in class com.golden.gamedev.GameObject
I/O file engine.
bsLoader - Variable in class com.golden.gamedev.Game
Image loader engine.
bsLoader - Variable in class com.golden.gamedev.GameObject
Image loader engine.
bsMusic - Variable in class com.golden.gamedev.Game
Audio engine for music.
bsMusic - Variable in class com.golden.gamedev.GameObject
Audio engine for music.
bsSound - Variable in class com.golden.gamedev.Game
Audio engine for sound.
bsSound - Variable in class com.golden.gamedev.GameObject
Audio engine for sound.
bsTimer - Variable in class com.golden.gamedev.Game
Timer engine.
bsTimer - Variable in class com.golden.gamedev.GameObject
Timer engine.
btnCancel - Variable in class com.golden.gamedev.funbox.GameSettings
The Cancel button, clicking this button will abort the game.
btnOK - Variable in class com.golden.gamedev.funbox.GameSettings
The OK button, clicking this button will launch the game.
bufferstrategy - Variable in class com.golden.gamedev.funbox.GameSettings
Check box UI for bufferstrategy option.

C

calculateFPS() - Method in class com.golden.gamedev.engine.timer.FPSCounter
The main method that calculating the frame per second.
CENTER - Static variable in interface com.golden.gamedev.object.GameFont
Text alignment: center alignment.
charIndex - Variable in class com.golden.gamedev.object.font.BitmapFont
 
checkCollision() - Method in class com.golden.gamedev.object.collision.AdvanceCollisionGroup
 
checkCollision() - Method in class com.golden.gamedev.object.collision.BasicCollisionGroup
 
checkCollision() - Method in class com.golden.gamedev.object.collision.CollisionBounds
 
checkCollision() - Method in class com.golden.gamedev.object.CollisionManager
Checks for collision between all members in group 1 againts all members in group 2.
checkCollisions() - Method in class com.golden.gamedev.object.PlayField
Checks for collision event.
checkPosMouse(int, int, int, int) - Method in class com.golden.gamedev.Game
Returns whether the mouse pointer is inside specified screen boundary.
checkPosMouse(Sprite, boolean) - Method in class com.golden.gamedev.Game
Returns whether the mouse pointer is inside specified sprite boundary.
checkPosMouse(int, int, int, int) - Method in class com.golden.gamedev.GameObject
Returns whether the mouse pointer is inside specified screen boundary.
checkPosMouse(Sprite, boolean) - Method in class com.golden.gamedev.GameObject
Returns whether the mouse pointer is inside specified sprite boundary.
CLASS_LOADER - Static variable in class com.golden.gamedev.engine.BaseIO
IO mode constant for class loader.
CLASS_URL - Static variable in class com.golden.gamedev.engine.BaseIO
IO mode constant for class url.
cleanup() - Method in interface com.golden.gamedev.engine.BaseGraphics
Releases any system graphics resources and do finalization.
cleanup() - Method in interface com.golden.gamedev.engine.BaseInput
Releases any system resources hooked by this input engine.
cleanup() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
cleanup() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
cleanup() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
cleanup() - Method in class com.golden.gamedev.engine.input.AWTInput
 
clear() - Method in class com.golden.gamedev.object.GameFontManager
Removed all loaded font from the storage.
clear() - Method in class com.golden.gamedev.object.SpriteGroup
Removes all members from this group, thus makes this group empty.
clearCache() - Method in class com.golden.gamedev.object.PlayField
Clears cache sprite.
clearPlayField() - Method in class com.golden.gamedev.object.PlayField
Clears all sprites in this playfield and makes this playfield empty.
click() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.isMousePressed(java.awt.event.MouseEvent.BUTTON1).
click() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.isMousePressed(java.awt.event.MouseEvent.BUTTON1).
closeDialog() - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Closes this error notification dialog.
collided(Sprite, Sprite) - Method in class com.golden.gamedev.object.collision.BasicCollisionGroup
Notified when sprite1 from group 1 collided with sprite2 from group 2.
collided(Sprite) - Method in class com.golden.gamedev.object.collision.CollisionBounds
Sprite sprite hit collision boundary, perform collided implementation.
CollisionBounds - Class in com.golden.gamedev.object.collision
Checks collision for specified boundary.
CollisionBounds(int, int, int, int) - Constructor for class com.golden.gamedev.object.collision.CollisionBounds
Creates new CollisionBounds with specified boundary.
CollisionBounds(Background) - Constructor for class com.golden.gamedev.object.collision.CollisionBounds
Creates new CollisionBounds with specified background as the boundary.
CollisionGroup - Class in com.golden.gamedev.object.collision
Basic collision check, with calculation of some collision events, such as collision side, and sprite return position.
CollisionGroup() - Constructor for class com.golden.gamedev.object.collision.CollisionGroup
Creates new CollisionGroup.
CollisionManager - Class in com.golden.gamedev.object
CollisionManager class is the base collision check abstract class that check collision between two SpriteGroups.
CollisionManager() - Constructor for class com.golden.gamedev.object.CollisionManager
Creates new CollisionManager.
CollisionRect - Class in com.golden.gamedev.object.collision
Optimized java.awt.Rectangle with double precision.
CollisionRect() - Constructor for class com.golden.gamedev.object.collision.CollisionRect
Creates new CollisionRect.
CollisionShape - Interface in com.golden.gamedev.object.collision
CollisionShape interface represents a form of geometric shape that behave as sprite collision area.
collisionSide - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The collision side of current collision.
collisionX1 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The x return coordinate of sprite in group 1 in current collision.
collisionX2 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The x return coordinate of sprite in group 2 in current collision.
collisionY1 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The y return coordinate of sprite in group 1 in current collision.
collisionY2 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The y return coordinate of sprite in group 2 in current collision.
ColorBackground - Class in com.golden.gamedev.object.background
The very basic background type that only fill the background view port with a single color.
ColorBackground(Color, int, int) - Constructor for class com.golden.gamedev.object.background.ColorBackground
Creates new ColorBackground with specified size.
ColorBackground(Color) - Constructor for class com.golden.gamedev.object.background.ColorBackground
Creates new ColorBackground as large as screen dimension.
com.golden.gamedev - package com.golden.gamedev
The core package of Golden T Game Engine (GTGE) Frame Work
(this package is where you should start first).
com.golden.gamedev.engine - package com.golden.gamedev.engine
Provides the base engines that interfacing GTGE users to hardware level abstraction.
com.golden.gamedev.engine.audio - package com.golden.gamedev.engine.audio
Audio engine implementation.
com.golden.gamedev.engine.graphics - package com.golden.gamedev.engine.graphics
Graphics engine implementation.
com.golden.gamedev.engine.input - package com.golden.gamedev.engine.input
Input engine implementation.
com.golden.gamedev.engine.timer - package com.golden.gamedev.engine.timer
Timer engine implementation.
com.golden.gamedev.funbox - package com.golden.gamedev.funbox
Provides miscellanous classes to enhance the game creation.
com.golden.gamedev.object - package com.golden.gamedev.object
This package is the heart of the game, containing objects visible in the game, such as sprite class, background class, etc.
com.golden.gamedev.object.background - package com.golden.gamedev.object.background
Background implementation.
com.golden.gamedev.object.background.abstraction - package com.golden.gamedev.object.background.abstraction
Advanced background abstraction, this package gives a flexible way to create advanced background specific to your game.
com.golden.gamedev.object.collision - package com.golden.gamedev.object.collision
Collision implementation.
com.golden.gamedev.object.font - package com.golden.gamedev.object.font
Game font implementation.
com.golden.gamedev.object.sprite - package com.golden.gamedev.object.sprite
Sprite implementation.
com.golden.gamedev.util - package com.golden.gamedev.util
Provides important utility classes, such as utility for array, file, image, etc.
compactStrings(String[]) - Static method in class com.golden.gamedev.util.Utility
Compacting String s to occupy less memory.
compare(Object, Object) - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
Sorts display mode, display mode in the first stack will be used by this graphics engine.
compare(Object, Object) - Method in class com.golden.gamedev.object.collision.AdvanceCollisionGroup
Sorts two sprites (o1 and o2) that collided with the object sprite to determine which one should be checked first.
CONFIG - Static variable in class com.golden.gamedev.engine.graphics.AppletMode
The graphics configuration that constructs this graphics engine.
CONFIG - Static variable in class com.golden.gamedev.engine.graphics.FullScreenMode
The graphics configuration that constructs this graphics engine.
CONFIG - Static variable in class com.golden.gamedev.engine.graphics.WindowedMode
The graphics configuration that constructs this graphics engine.
CONFIG - Static variable in class com.golden.gamedev.util.ImageUtil
 
createAppletGame() - Method in class com.golden.gamedev.GameLoader
To play game in applet environment, GameLoader class need to be subclassed and this method need to be override to return the actual game object.
createBitmapFont(Font, Color) - Static method in class com.golden.gamedev.util.FontUtil
Creates bitmap font from specified java.awt.Font that can be used by AdvanceBitmapFont.
createImage(int, int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Creates blank image with specified width, height, and transparency.
createImage(int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Creates blank image with specified width, height, without transparency (opaque).
createInputListener() - Method in class com.golden.gamedev.engine.input.AWTInput
Creates the default input listener of this AWT Input Component.
createRenderer() - Method in class com.golden.gamedev.engine.BaseAudio
Constructs new audio renderer to play new audio sound.
createTrueTypeFont(URL, int, float) - Static method in class com.golden.gamedev.util.FontUtil
Creates java.awt.Font from specified True Type Font URL (*.ttf).
cut(Object, int) - Static method in class com.golden.gamedev.util.Utility
Cuts an array of object from specified position.

D

DEBUG - Variable in class com.golden.gamedev.funbox.KeyCapture
Turn on this DEBUG variable to debug player input by print it to console.
destroy() - Method in class com.golden.gamedev.engine.graphics.AppletMode
Override Applet.destroy() to release any graphics resource by calling AppletMode.cleanup().
DEVICE - Static variable in class com.golden.gamedev.engine.graphics.AppletMode
The graphics device that constructs this graphics engine.
DEVICE - Static variable in class com.golden.gamedev.engine.graphics.FullScreenMode
The graphics device that constructs this graphics engine.
DEVICE - Static variable in class com.golden.gamedev.engine.graphics.WindowedMode
The graphics device that constructs this graphics engine.
distribute - Variable in class com.golden.gamedev.Game
Indicates whether this game is finished and ready to distribute or still in development stage.
drawFPS(Graphics2D, int, int) - Method in class com.golden.gamedev.Game
Draws game frame-per-second (FPS) to specified location.
drawFPS(Graphics2D, int, int) - Method in class com.golden.gamedev.GameObject
Draws game frame-per-second (FPS) to specified location.
drawString(Graphics2D, String, int, int) - Method in class com.golden.gamedev.object.font.BitmapFont
 
drawString(Graphics2D, String, int, int, int, int) - Method in class com.golden.gamedev.object.font.BitmapFont
 
drawString(Graphics2D, String, int, int) - Method in class com.golden.gamedev.object.font.SystemFont
 
drawString(Graphics2D, String, int, int, int, int) - Method in class com.golden.gamedev.object.font.SystemFont
 
drawString(Graphics2D, String, int, int) - Method in interface com.golden.gamedev.object.GameFont
Draw a single line string into graphics context.
drawString(Graphics2D, String, int, int, int, int) - Method in interface com.golden.gamedev.object.GameFont
Draw a single line string into graphics context with specified alignment.
drawText(Graphics2D, String, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.font.BitmapFont
 
drawText(Graphics2D, String, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.font.SystemFont
 
drawText(Graphics2D, String, int, int, int, int, int, int) - Method in interface com.golden.gamedev.object.GameFont
Draw multiple line text into graphics context.

E

emailAddress - Variable in class com.golden.gamedev.funbox.ErrorNotificationDialog
The email address which the player should report the exception to.
END_OF_SOUND - Static variable in class com.golden.gamedev.engine.BaseAudioRenderer
Audio renderer status indicates that the audio has finished played.
ERROR - Static variable in class com.golden.gamedev.engine.BaseAudioRenderer
Audio renderer status indicates that the audio is failed to play.
error - Variable in class com.golden.gamedev.funbox.ErrorNotificationDialog
The error exception of the game.
ErrorNotificationDialog - Class in com.golden.gamedev.funbox
ErrorNotificationDialog class is a dialog UI to show the player the game exception and tell the player to send it to the game author.
ErrorNotificationDialog(Throwable, BaseGraphics, String, String) - Constructor for class com.golden.gamedev.funbox.ErrorNotificationDialog
Builds up an error notification dialog for the player.
expand(Object, int, boolean) - Static method in class com.golden.gamedev.util.Utility
Expands an array of object by specified size, src can not be null.
expand(Object, int) - Static method in class com.golden.gamedev.util.Utility
Expands an array of object by specified size, src can not be null.
expand(Object, int, boolean, Class) - Static method in class com.golden.gamedev.util.Utility
Expands an array of Class type object by specified size, src can be null.

F

fileRead(File) - Static method in class com.golden.gamedev.util.FileUtil
Read an array of String from specified text file.
fileRead(InputStream) - Static method in class com.golden.gamedev.util.FileUtil
Read an array of String from specified stream.
fileRead(URL) - Static method in class com.golden.gamedev.util.FileUtil
Read an array of String from specified URL.
FileUtil - Class in com.golden.gamedev.util
Utility class provides functions for processing java.io.File object, such as renaming file extension, reading and writing text file, etc.
fileWrite(String[], File) - Static method in class com.golden.gamedev.util.FileUtil
Writes an array of String to specified text file.
finish() - Method in class com.golden.gamedev.Game
End the game and back to operating system.
finish() - Method in class com.golden.gamedev.GameObject
End this game, and back to game object chooser.
flip() - Method in interface com.golden.gamedev.engine.BaseGraphics
Flips backbuffer to the screen (primary surface).
flip() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
flip() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
flip() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
flip(BufferedImage) - Static method in class com.golden.gamedev.util.ImageUtil
Flips an image.
focusGained(FocusEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
focusLost(FocusEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
fontManager - Variable in class com.golden.gamedev.Game
Font manager.
fontManager - Variable in class com.golden.gamedev.GameObject
Font manager.
FontUtil - Class in com.golden.gamedev.util
Utility class for manipulating java.awt.Font object.
forceX(double) - Method in class com.golden.gamedev.object.Sprite
Forces sprite x position to specified coordinate.
forceY(double) - Method in class com.golden.gamedev.object.Sprite
Forces sprite y position to specified coordinate.
FPSCounter - Class in com.golden.gamedev.engine.timer
A utility class to calculate timer frame per seconds (FPS) in convenient way.
FPSCounter() - Constructor for class com.golden.gamedev.engine.timer.FPSCounter
Creates new FPSCounter.
fromByteArray(byte[]) - Static method in class com.golden.gamedev.util.ImageUtil
Constructs image from byte array.
fullscreen - Variable in class com.golden.gamedev.funbox.GameSettings
Check box UI for fullscreen option.
FullScreenMode - Class in com.golden.gamedev.engine.graphics
Graphics engine for Full Screen Exclusive Environment (FSEM).
FullScreenMode(Dimension, boolean) - Constructor for class com.golden.gamedev.engine.graphics.FullScreenMode
Creates new instance of Full Screen Graphics Engine with specified size, and whether want to use bufferstrategy or volatile image.

G

Game - Class in com.golden.gamedev
Game class is Golden T Game Engine (GTGE) core class that initializes all GTGE game engines, wrap the engines up, and setup the basic game frame work to be play on.
Game() - Constructor for class com.golden.gamedev.Game
Creates new instance of Game class, please see note below.
game - Variable in class com.golden.gamedev.GameLoader
The game (subclass of Game class) initialized by this GameLoader.
GameEngine - Class in com.golden.gamedev
Extending Game class functionality to be able to handle multiple game screen in order to separate game logic into separated entities.
GameEngine() - Constructor for class com.golden.gamedev.GameEngine
Creates new GameEngine, the first game to be played is GameObject with ID = 0 (zero), please see note below.
GameFont - Interface in com.golden.gamedev.object
GameFont interface is an interface to draw text with alignment.
GameFontManager - Class in com.golden.gamedev.object
Simplify GameFont creation and also behave as the storage of loaded font.
GameFontManager() - Constructor for class com.golden.gamedev.object.GameFontManager
Creates new GameFontManager.
GameLoader - Class in com.golden.gamedev
GameLoader class is the class that manages Game class initialization.
GameLoader() - Constructor for class com.golden.gamedev.GameLoader
Constructs new GameLoader.
GameObject - Class in com.golden.gamedev
Similar like Game class except this class is working under GameEngine frame work.
GameObject(GameEngine) - Constructor for class com.golden.gamedev.GameObject
Creates new GameObject with specified GameEngine as the master engine.
GameSettings - Class in com.golden.gamedev.funbox
GameSettings is a dialog UI to show the user the basic game options for the player to choose of.
GameSettings(URL) - Constructor for class com.golden.gamedev.funbox.GameSettings
Builds up the game settings/options dialog for the user with specified splash image URL or null .
GameSettings() - Constructor for class com.golden.gamedev.funbox.GameSettings
Builds up the game settings/options dialog for the player without splash image.
GameSettings(boolean, boolean) - Constructor for class com.golden.gamedev.funbox.GameSettings
Skips the option dialog, and start the game with specified mode and bufferstrategy.
GameSettings(boolean) - Constructor for class com.golden.gamedev.funbox.GameSettings
Skips the option dialog, and directly init the game with specified mode and using bufferstrategy by default.
getActiveSprite() - Method in class com.golden.gamedev.object.SpriteGroup
Returns the first active sprite found in this group, or null if there is no active sprite.
getAnimationFrame() - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Returns sprite animation frame or null if the sprite use standard animation frame.
getAnimationTimer() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns sprite animation timer.
getAudioFile() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns the audio resource URL associated with this audio renderer.
getAudioPolicy() - Method in class com.golden.gamedev.engine.BaseAudio
Returns the default audio policy used by this audio manager to play audio sound when no audio policy is specified.
getAudioRenderer(int) - Method in class com.golden.gamedev.engine.BaseAudio
Returns audio renderer in specified slot.
getAudioRenderer(String) - Method in class com.golden.gamedev.engine.BaseAudio
Returns audio renderer with specified audio file or null if not found.
getBackBuffer() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns backbuffer where the rendering perform.
getBackBuffer() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getBackBuffer() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getBackBuffer() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getBackground() - Method in class com.golden.gamedev.object.PlayField
Returns background associated with this playfield.
getBackground() - Method in class com.golden.gamedev.object.Sprite
Returns the background where this sprite lived.
getBackground() - Method in class com.golden.gamedev.object.SpriteGroup
Returns the background of this group.
getBase() - Method in class com.golden.gamedev.engine.BaseIO
Returns the base class where the resources will be taken from.
getBaseIO() - Method in class com.golden.gamedev.engine.BaseAudio
Returns BaseIO from where this audio manager is getting all audio sound resources.
getBaseIO() - Method in class com.golden.gamedev.engine.BaseLoader
Returns BaseIO associated with this image loader.
getBaseRenderer() - Method in class com.golden.gamedev.engine.BaseAudio
Returns the base renderer of this audio manager.
getBoundary() - Method in class com.golden.gamedev.object.collision.CollisionBounds
Returns the boundary of the sprites.
getBuffer() - Method in class com.golden.gamedev.engine.BaseAudio
Returns total renderer allowed to create before audio manager attempt to replace idle renderer.
getClip() - Method in class com.golden.gamedev.object.Background
Returns background screen viewport (clipping area), anything outside viewport area will not be rendered.
getCollisionGroup(SpriteGroup, SpriteGroup) - Method in class com.golden.gamedev.object.PlayField
Returns associated collision group that checking collision of group1 and group2, or null if requested collision group can not be found.
getCollisionGroup(SpriteGroup) - Method in class com.golden.gamedev.object.PlayField
Returns any collision group associated with specified sprite group.
getCollisionGroups() - Method in class com.golden.gamedev.object.PlayField
Returns all collision group associated with this playfield.
getCollisionShape1(Sprite) - Method in class com.golden.gamedev.object.collision.BasicCollisionGroup
Returns collision shape (bounding box) of specified sprite from group 1.
getCollisionShape1(Sprite) - Method in class com.golden.gamedev.object.collision.CollisionBounds
Sets specified Sprite collision rectangle (sprite bounding box) into rect.
getCollisionShape2(Sprite) - Method in class com.golden.gamedev.object.collision.BasicCollisionGroup
Returns collision shape (bounding box) of specified sprite from group 2.
getCollisionSide() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Returns collision side of current collision.
getColor() - Method in class com.golden.gamedev.object.background.ColorBackground
Returns this background color.
getColor() - Method in class com.golden.gamedev.object.font.SystemFont
Returns the color of this font, or null if the font is drawn following the graphics context active color.
getComparator() - Method in class com.golden.gamedev.object.PlayField
Returns playfield comparator, comparator is used for sorting the sprites before rendering.
getComparator() - Method in class com.golden.gamedev.object.SpriteGroup
Returns comparator used for sorting sprites in this group.
getComponent() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns the component where the rendering perform.
getComponent() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getComponent() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getComponent() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getComponent() - Method in class com.golden.gamedev.engine.input.AWTInput
Returns the AWT Component used by this input engine.
getCoordinateAt(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns screen coordinate of specified tile position.
getCountRenderers() - Method in class com.golden.gamedev.engine.BaseAudio
Returns total audio renderer created within this audio manager.
getCurrentFPS() - Method in interface com.golden.gamedev.engine.BaseTimer
Returns timer current frame per second.
getCurrentFPS() - Method in class com.golden.gamedev.engine.timer.FPSCounter
Returns current FPS.
getCurrentFPS() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
getCurrentFPS() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsTimer.getCurrentFPS().
getCurrentFPS() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsTimer.getCurrentFPS().
getCurrentGame() - Method in class com.golden.gamedev.GameEngine
Returns currently playing GameObject entity.
getCurrentGameID() - Method in class com.golden.gamedev.GameEngine
Returns the ID of currently playing GameObject entity.
getCurrentTick() - Method in class com.golden.gamedev.object.Timer
Returns timer current tick.
getDataID() - Method in class com.golden.gamedev.object.Sprite
Returns sprite data ID, ID is used to mark a sprite from other sprite.
getDefaultBackground() - Static method in class com.golden.gamedev.object.Background
Returns the default background used by every newly created sprite.
getDelay() - Method in class com.golden.gamedev.object.Timer
Returns timer delay time in milliseconds.
getDelayTime() - Method in class com.golden.gamedev.funbox.KeyCapture
Returns the delay time each key typing allowed in milliseconds.
getDirection() - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Returns current sprite direction.
getDistance(Sprite) - Method in class com.golden.gamedev.object.Sprite
Returns the distance of this sprite from the specified sprite.
getException(String, int, String) - Method in class com.golden.gamedev.engine.BaseIO
Returns exception string used whenever resource can not be found.
getExpandFactor() - Method in class com.golden.gamedev.object.SpriteGroup
Returns allocation size for empty sprite (null sprite).
getExtension(File) - Static method in class com.golden.gamedev.util.FileUtil
Returns extension of a file.
getExtension(String) - Static method in class com.golden.gamedev.util.FileUtil
Returns extension of a string.
getExtraGroup() - Method in class com.golden.gamedev.object.PlayField
Returns this playfield extra sprite group.
getFile(String, int) - Method in class com.golden.gamedev.engine.BaseIO
Return file from specified path with specified mode.
getFile(String) - Method in class com.golden.gamedev.engine.BaseIO
Returns file from specified path with this BaseIO default mode.
getFinishAnimationFrame() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns the finish animation frame of this sprite.
getFont() - Method in class com.golden.gamedev.object.font.SystemFont
Returns the AWT Font used to draw this SystemFont.
getFont(String) - Method in class com.golden.gamedev.object.GameFontManager
Returns font with specified name.
getFont(BufferedImage) - Method in class com.golden.gamedev.object.GameFontManager
Returns default AdvanceBitmapFont that using standard Bitmap Font Writer, created by Stefan Pettersson.
getFont(BufferedImage, String) - Method in class com.golden.gamedev.object.GameFontManager
Returns AdvanceBitmapFont that using standard Bitmap Font Writer, created by Stefan Pettersson.
getFont(BufferedImage[]) - Method in class com.golden.gamedev.object.GameFontManager
Returns bitmap font with specified images following this letter sequence : !
getFont(BufferedImage[], String) - Method in class com.golden.gamedev.object.GameFontManager
Returns bitmap font with specified font images and letter sequence.
getFont(Font) - Method in class com.golden.gamedev.object.GameFontManager
Returns font with specified system font, the color of the font is following active color of the graphics context where the font drawn.
getFont(Font, Color) - Method in class com.golden.gamedev.object.GameFontManager
Returns font with specified system font and color.
getFontMetrics() - Method in class com.golden.gamedev.object.font.SystemFont
Returns the font metrics used to measure this SystemFont.
getFPS() - Method in interface com.golden.gamedev.engine.BaseTimer
Returns the requested frame per second.
getFPS() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
getFPS() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call BaseTimer.getFPS().
getFPS() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call BaseTimer.getFPS().
getFrame() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
Returns the top level frame where this graphics engine is being put on.
getFrame() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
Returns the top level frame where this graphics engine is being put on.
getFrame() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns current frame animation.
getGame(int) - Method in class com.golden.gamedev.GameEngine
Returns GameObject with specific ID, the returned GameObject will be the game to be played next.
getGame() - Method in class com.golden.gamedev.GameLoader
Returns the game associated with this game loader or null if this game loader has not loaded any game.
getGraphicsDescription() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns graphics engine description, for example: fullscreen, windowed, applet, fullscreen with bufferstrategy, etc.
getGraphicsDescription() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getGraphicsDescription() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getGraphicsDescription() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getGraphicsDescription() - Method in class com.golden.gamedev.GameLoader
 
getGroup(String) - Method in class com.golden.gamedev.object.PlayField
Returns sprite group with specified name associated with this playfield.
getGroup1() - Method in class com.golden.gamedev.object.CollisionManager
Returns the first group associated with this collision manager.
getGroup2() - Method in class com.golden.gamedev.object.CollisionManager
Returns the second group associated with this collision manager.
getGroups() - Method in class com.golden.gamedev.object.PlayField
Returns all sprite group associated with this playfield.
getGroupSize() - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
Returns total non-null sprites (active + inactive) in this group.
getGroupSprites() - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
Returns all sprites (active, inactive, and also null sprite) in this group.
getHeight() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsGraphics.getSize().height.
getHeight() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsGraphics.getSize().height.
getHeight() - Method in class com.golden.gamedev.object.Background
Returns the height of this background.
getHeight() - Method in class com.golden.gamedev.object.collision.CollisionRect
 
getHeight() - Method in interface com.golden.gamedev.object.collision.CollisionShape
Returns the height of this collision shape.
getHeight() - Method in class com.golden.gamedev.object.font.BitmapFont
 
getHeight() - Method in class com.golden.gamedev.object.font.SystemFont
 
getHeight() - Method in interface com.golden.gamedev.object.GameFont
Returns the height of this font in pixel.
getHeight() - Method in class com.golden.gamedev.object.Sprite
Returns the height of this sprite.
getHorizontalSpeed() - Method in class com.golden.gamedev.object.Sprite
Returns horizontal speed of the sprite.
getID() - Method in class com.golden.gamedev.object.Sprite
Returns sprite ID, ID is used to mark a sprite from other sprite.
getImage(String, boolean) - Method in class com.golden.gamedev.engine.BaseLoader
Loads and returns an image with specified file and whether using masking color or not.
getImage(String) - Method in class com.golden.gamedev.engine.BaseLoader
Loads and returns an image with specified file using masking color.
getImage(String, boolean) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsLoader.getImage(String, boolean).
getImage(String) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsLoader.getImage(String).
getImage(String, boolean) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsLoader.getImage(String, boolean).
getImage(String) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsLoader.getImage(String).
getImage(int) - Method in class com.golden.gamedev.object.AnimatedSprite
Returns image of specified frame.
getImage() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns image of current frame.
getImage() - Method in class com.golden.gamedev.object.background.ImageBackground
Returns this background image.
getImage() - Method in class com.golden.gamedev.object.Sprite
Returns the image of this sprite.
getImage(URL, int) - Static method in class com.golden.gamedev.util.ImageUtil
Loads an image from URL and specified transparency.
getImage(URL) - Static method in class com.golden.gamedev.util.ImageUtil
Loads an image from URL without transparency (completely opaque).
getImage(URL, Color) - Static method in class com.golden.gamedev.util.ImageUtil
Loads an image from URL with specified masking color.
getImageFont() - Method in class com.golden.gamedev.object.font.BitmapFont
Returns the images font used to draw this bitmap font.
getImages(String, int, int, boolean) - Method in class com.golden.gamedev.engine.BaseLoader
Loads and returns image strip with specified file and whether using masking color or not.
getImages(String, int, int) - Method in class com.golden.gamedev.engine.BaseLoader
Loads and returns image strip with specified file using masking color.
getImages(String, int, int, boolean) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsLoader.getImages(String, int, int, boolean).
getImages(String, int, int) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsLoader.getImages(String, int, int).
getImages(String, int, int, boolean, String, int) - Method in class com.golden.gamedev.Game
Returns stripped images with specified sequence.
getImages(String, int, int, String, int) - Method in class com.golden.gamedev.Game
Same as getImages(imagefile, col, row, useMask, sequence, digit) with mask color is turned on by default.
getImages(String, int, int, boolean, int, int) - Method in class com.golden.gamedev.Game
Returns stripped images with cropped sequence.
getImages(String, int, int, int, int) - Method in class com.golden.gamedev.Game
Same as getImages(imagefile, col, row, useMask, start, end) with mask color is turned on by default.
getImages(String, int, int, boolean) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsLoader.getImages(String, int, int, boolean).
getImages(String, int, int) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsLoader.getImages(String, int, int).
getImages(String, int, int, boolean, String, int) - Method in class com.golden.gamedev.GameObject
Returns stripped images with specified sequence.
getImages(String, int, int, String, int) - Method in class com.golden.gamedev.GameObject
Same as getImages(imagefile, col, row, useMask, sequence, digit) with mask color is turned on by default.
getImages(String, int, int, boolean, int, int) - Method in class com.golden.gamedev.GameObject
Returns stripped images with cropped sequence.
getImages(String, int, int, int, int) - Method in class com.golden.gamedev.GameObject
Same as getImages(imagefile, col, row, useMask, start, end) with mask color is turned on by default.
getImages() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns sprite animation images.
getImages(URL, int, int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Loads and splits image from URL and transparency.
getImages(URL, int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Loads and splits image from URL, without transparency.
getImages(URL, int, int, Color) - Static method in class com.golden.gamedev.util.ImageUtil
Loads and splits image from URL with specified masking color.
getInactiveSprite() - Method in class com.golden.gamedev.object.SpriteGroup
Returns the first inactive sprite found in this group (the returned sprite is automatically set to active), or null if there is no inactive sprite, please see Sprite.setImmutable(boolean) for tag method of this method.
getInstance() - Static method in class com.golden.gamedev.engine.graphics.WindowExitListener
Returns WindowExitListener singleton instance.
getIntersectionRect(double, double, int, int, double, double, int, int) - Static method in class com.golden.gamedev.object.CollisionManager
Returns the intersection rect of two rectangle.
getKeyDown() - Method in class com.golden.gamedev.engine.input.AWTInput
Returns boolean (on/off) mapping of currently pressed key.
getKeyPressed() - Method in interface com.golden.gamedev.engine.BaseInput
Returns key pressed or BaseInput.NO_KEY if no key is being pressed.
getKeyPressed() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getKeyReleased() - Method in interface com.golden.gamedev.engine.BaseInput
Returns key released or BaseInput.NO_KEY if no key is being released.
getKeyReleased() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getKeySequence() - Method in class com.golden.gamedev.funbox.KeyCapture
Returns the key sequence key code that will be captured.
getKeyString() - Method in class com.golden.gamedev.funbox.KeyCapture
Returns the key sequence in string.
getLastAudioFile() - Method in class com.golden.gamedev.engine.BaseAudio
Returns the last played audio file.
getLayer() - Method in class com.golden.gamedev.object.Sprite
Returns the layer of this sprite.
getLoader() - Method in class com.golden.gamedev.engine.BaseIO
Returns the class loader associated with this BaseIO.
getMaskColor() - Method in class com.golden.gamedev.engine.BaseLoader
Returns image loader masking color.
getMaxSimultaneous() - Method in class com.golden.gamedev.engine.BaseAudio
Returns maximum simultaneous same audio sound can be played at a time.
getMode() - Method in class com.golden.gamedev.engine.BaseIO
Returns the default IO mode used for getting the resources.
getModeString(int) - Method in class com.golden.gamedev.engine.BaseIO
Returns the official statement of specified IO mode, or [UNKNOWN-MODE] if the IO mode is undefined.
getModifiers() - Method in class com.golden.gamedev.funbox.KeyCapture
The key modifiers associated with this key capture.
getMouseDown() - Method in class com.golden.gamedev.engine.input.AWTInput
Returns boolean (on/off) mapping of pressed mouse button.
getMouseDX() - Method in interface com.golden.gamedev.engine.BaseInput
Returns the delta of mouse x-coordinate.
getMouseDX() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMouseDY() - Method in interface com.golden.gamedev.engine.BaseInput
Returns the delta of mouse y-coordinate.
getMouseDY() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMousePressed() - Method in interface com.golden.gamedev.engine.BaseInput
Returns mouse button pressed or BaseInput.NO_BUTTON if no button is being pressed.
getMousePressed() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMouseReleased() - Method in interface com.golden.gamedev.engine.BaseInput
Returns mouse button released or BaseInput.NO_BUTTON if no button is being released.
getMouseReleased() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMouseX() - Method in interface com.golden.gamedev.engine.BaseInput
Returns the mouse x-coordinate.
getMouseX() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMouseX() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.getMouseX().
getMouseX() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.getMouseX().
getMouseY() - Method in interface com.golden.gamedev.engine.BaseInput
Returns the mouse y-coordinate.
getMouseY() - Method in class com.golden.gamedev.engine.input.AWTInput
 
getMouseY() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.getMouseY().
getMouseY() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.getMouseY().
getName() - Method in class com.golden.gamedev.object.SpriteGroup
Returns the name of this group.
getName(File) - Static method in class com.golden.gamedev.util.FileUtil
Returns name of a file without its extension.
getName(String) - Static method in class com.golden.gamedev.util.FileUtil
Returns name of a string without its extension.
getOffsetTileHeight() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns the tile height offset from the base tile height.
getOffsetX() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns current background tile offset-x.
getOffsetY() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns current background tile offset-y.
getOldX() - Method in class com.golden.gamedev.object.Sprite
Returns sprite x coordinate before the sprite moving to the current position.
getOldY() - Method in class com.golden.gamedev.object.Sprite
Returns sprite y coordinate before the sprite moving to the current position.
getParallaxBackground() - Method in class com.golden.gamedev.object.background.ParallaxBackground
Returns the stacked parallax backgrounds.
getPath(File) - Static method in class com.golden.gamedev.util.FileUtil
Returns the path of specified file.
getPath(String) - Static method in class com.golden.gamedev.util.FileUtil
Returns path of a string.
getPathName(File) - Static method in class com.golden.gamedev.util.FileUtil
Returns path and name of a file without its extension.
getPathName(String) - Static method in class com.golden.gamedev.util.FileUtil
Returns path and name of a string without its extension.
getPattern() - Method in class com.golden.gamedev.object.sprite.PatternSprite
Returns the pattern sprite associates with this sprite.
getRandom(int, int) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call Utility.getRandom(int, int)
getRandom(int, int) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call Utility.getRandom(int, int)
getRandom(int, int) - Static method in class com.golden.gamedev.util.Utility
Returns a random number, range from lowerbound (inclusive) to upperbound (inclusive).
getRandomObject() - Static method in class com.golden.gamedev.util.Utility
Returns pre-defined Random object.
getRenderers() - Method in class com.golden.gamedev.engine.BaseAudio
Returns all audio renderers (playing and idle renderer) associated with this audio manager.
getRootPath(int) - Method in class com.golden.gamedev.engine.BaseIO
Returns the root path of this BaseIO if using specified mode.
getScanFrequence() - Method in class com.golden.gamedev.object.SpriteGroup
Schedule timer for removing inactive sprites.
getScreenOffset() - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
Returns screen offset of this group.
getScreenX() - Method in class com.golden.gamedev.object.Sprite
Returns sprite x coordinate relative to screen area.
getScreenY() - Method in class com.golden.gamedev.object.Sprite
Returns sprite y coordinate relative to screen area.
getSize() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns graphics engine dimension.
getSize() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getSize() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getSize() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getSize() - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
Returns total non-null on-screen sprites (active + inactive sprites) in this group.
getSize() - Method in class com.golden.gamedev.object.SpriteGroup
Returns total active and inactive sprites (non-null sprites) in this group.
getSourceSprite() - Method in class com.golden.gamedev.object.collision.AdvanceCollisionGroup
Returns the source sprite to be checked at the moment.
getSprite1() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Returns the sprite of current collision from group 1.
getSprite2() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Returns the sprite of current collision from group 2.
getSprites() - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
Returns all on-screen sprites (active, inactive, and also null sprite) in this group.
getSprites() - Method in class com.golden.gamedev.object.SpriteGroup
Returns all sprites (active, inactive, and also null sprite) in this group.
getStartAnimationFrame() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns the start animation frame of this frame.
getStartY() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns starting y coordinate where the isometric background start rendered.
getStatus() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns the audio renderer status.
getStatus() - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Returns current sprite status.
getStorage() - Method in class com.golden.gamedev.object.collision.AdvanceCollisionGroup
Returns collided sprites storage.
getStoredImage(String) - Method in class com.golden.gamedev.engine.BaseLoader
Returns cache image with specified key.
getStoredImages(String) - Method in class com.golden.gamedev.engine.BaseLoader
Returns cache images with specified key.
getStream(String, int) - Method in class com.golden.gamedev.engine.BaseIO
Returns input stream from specified path with specified mode.
getStream(String) - Method in class com.golden.gamedev.engine.BaseIO
Returns input stream from specified path with this BaseIO default mode.
getTileAt(double, double) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns iso tile position of specified coordinate or null if the coordinate is out of background viewport/boundary.
getTileAt(double, double) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns background tile position of specified coordinate or null if the coordinate is out of background viewport/boundary.
getTileHeight() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns the base height of the iso tile.
getTileHeight() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns the height of the tile.
getTileImages() - Method in class com.golden.gamedev.object.background.IsometricBackground
Return the isometric background tile images.
getTileImages() - Method in class com.golden.gamedev.object.background.TileBackground
Return the tile background tile images.
getTiles() - Method in class com.golden.gamedev.object.background.IsometricBackground
Returns the isometric background tiling.
getTiles() - Method in class com.golden.gamedev.object.background.TileBackground
Returns the background tiling.
getTileWidth() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns the width of the iso tile.
getTileWidth() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns the width of the tile.
getTileX() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns current tile-x position.
getTileX() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns current tile-x position.
getTileY() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns current tile-y position.
getTileY() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns current tile-y position.
getTime() - Method in interface com.golden.gamedev.engine.BaseTimer
Returns timer current time in milliseconds.
getTime() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
getTotalHorizontalTiles() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns background total horizontal tiles.
getTotalHorizontalTiles() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns background total horizontal tiles.
getTotalVerticalTiles() - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Returns background total vertical tiles.
getTotalVerticalTiles() - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Returns background total vertical tiles.
getURL(String, int) - Method in class com.golden.gamedev.engine.BaseIO
Returns URL from specified path with specified mode.
getURL(String) - Method in class com.golden.gamedev.engine.BaseIO
Returns URL from specified path with this BaseIO default mode.
getVerticalSpeed() - Method in class com.golden.gamedev.object.Sprite
Returns vertical speed of the sprite.
getVolume() - Method in class com.golden.gamedev.engine.BaseAudio
Returns audio manager volume.
getVolume() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns audio volume.
getWidth() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsGraphics.getSize().width.
getWidth() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsGraphics.getSize().width.
getWidth() - Method in class com.golden.gamedev.object.Background
Returns the width of this background.
getWidth() - Method in class com.golden.gamedev.object.collision.CollisionRect
 
getWidth() - Method in interface com.golden.gamedev.object.collision.CollisionShape
Returns the width of this collision shape.
getWidth(char) - Method in class com.golden.gamedev.object.font.AdvanceBitmapFont
 
getWidth(String) - Method in class com.golden.gamedev.object.font.AdvanceBitmapFont
 
getWidth(char) - Method in class com.golden.gamedev.object.font.BitmapFont
 
getWidth(String) - Method in class com.golden.gamedev.object.font.BitmapFont
 
getWidth(String) - Method in class com.golden.gamedev.object.font.SystemFont
 
getWidth(char) - Method in class com.golden.gamedev.object.font.SystemFont
 
getWidth(String) - Method in interface com.golden.gamedev.object.GameFont
Returns the width of String st in pixel.
getWidth(char) - Method in interface com.golden.gamedev.object.GameFont
Returns the width of char c in pixel.
getWidth() - Method in class com.golden.gamedev.object.Sprite
Returns the width of this sprite.
getWindowIcon() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns graphics engine window icon image or null if setting window icon image is not supported.
getWindowIcon() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getWindowIcon() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getWindowIcon() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getWindowTitle() - Method in interface com.golden.gamedev.engine.BaseGraphics
Returns graphics engine window title or String "" if setting window title is not supported.
getWindowTitle() - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
getWindowTitle() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
getWindowTitle() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
getX() - Method in class com.golden.gamedev.object.Background
Returns the x coordinate of this background.
getX() - Method in class com.golden.gamedev.object.collision.CollisionRect
 
getX() - Method in interface com.golden.gamedev.object.collision.CollisionShape
Returns the x-position of this collision shape.
getX() - Method in class com.golden.gamedev.object.Sprite
Returns sprite x coordinate.
getY() - Method in class com.golden.gamedev.object.Background
Returns the y coordinate of this background.
getY() - Method in class com.golden.gamedev.object.collision.CollisionRect
 
getY() - Method in interface com.golden.gamedev.object.collision.CollisionShape
Returns the y-position of this collision shape.
getY() - Method in class com.golden.gamedev.object.Sprite
Returns sprite y coordinate.
gfx - Variable in class com.golden.gamedev.GameLoader
Graphics engine loaded by this GameLoader.
grow(int, int) - Method in class com.golden.gamedev.object.collision.CollisionRect
Grows this collision rect by h width, and v height.
GTGE_VERSION - Static variable in class com.golden.gamedev.Game
Current GTGE version.

H

height - Variable in class com.golden.gamedev.object.collision.CollisionRect
The height of this collision rect.
height - Variable in class com.golden.gamedev.object.Sprite
The height of this sprite.
hideCursor() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.setMouseVisible(false).
hideCursor() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.setMouseVisible(false).

I

ImageBackground - Class in com.golden.gamedev.object.background
Background that use a single image as the background.
ImageBackground(BufferedImage, int, int) - Constructor for class com.golden.gamedev.object.background.ImageBackground
Creates new ImageBackground with specified image and background size.
ImageBackground(BufferedImage) - Constructor for class com.golden.gamedev.object.background.ImageBackground
Creates new ImageBackground with specified image and the background size is as large as the image.
ImageUtil - Class in com.golden.gamedev.util
Utility class for creating, loading, and manipulating image.
initEngine() - Method in class com.golden.gamedev.Game
Game engines is initialized in this method.
initGUI() - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
The initialization of the error notification GUI.
initGUI() - Method in class com.golden.gamedev.funbox.GameSettings
Initializes the content of the settings, by default consists of splash image (if any), settings panel, and launch panel.
initResources() - Method in class com.golden.gamedev.funbox.LibInfo
 
initResources() - Method in class com.golden.gamedev.Game
All game resources initialization, everything that usually goes to constructor should be put in here.
initResources() - Method in class com.golden.gamedev.GameEngine
Initialization of global game resources.
initResources() - Method in class com.golden.gamedev.GameObject
All game resources initialization, everything that usually goes to constructor should be put in here.
initSettings() - Method in class com.golden.gamedev.funbox.GameSettings
Initializes and return the settings GUI, override this method to insert new option or remove some options.
input - Variable in class com.golden.gamedev.funbox.KeyCapture
BaseInput associated with this key capture.
intersects(CollisionShape) - Method in class com.golden.gamedev.object.collision.CollisionRect
 
intersects(CollisionShape) - Method in interface com.golden.gamedev.object.collision.CollisionShape
Returns whether this collision shape intersects with other collision shape area.
isActive() - Method in class com.golden.gamedev.engine.BaseAudio
Returns true, if this audio manager is fully functional.
isActive() - Method in class com.golden.gamedev.funbox.KeyCapture
Returns this key capture is active or not.
isActive() - Method in class com.golden.gamedev.object.CollisionManager
Returns true, if this collision manager is active.
isActive() - Method in class com.golden.gamedev.object.Sprite
Returns active state of this sprite.
isActive() - Method in class com.golden.gamedev.object.SpriteGroup
Returns active state of this group.
isActive() - Method in class com.golden.gamedev.object.Timer
Returns active state of this timer, inactive timer won't do any action.
isAnimate() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns whether this sprite is currently animating or not.
isAvailable() - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
isAvailable() - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
isAvailable() - Method in class com.golden.gamedev.engine.BaseAudio
Returns whether this audio manager is available to use or not.
isAvailable() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns true, if this audio renderer is available to use or false if this renderer is not available to use (failed to initialized).
isAvailable(char) - Method in class com.golden.gamedev.object.font.BitmapFont
 
isAvailable(char) - Method in class com.golden.gamedev.object.font.SystemFont
 
isAvailable(char) - Method in interface com.golden.gamedev.object.GameFont
Returns whether the specified char c is available to draw by this game font.
isBufferStrategy() - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
Returns whether this graphics engine is using buffer strategy or volatile image.
isBufferStrategy() - Method in class com.golden.gamedev.engine.graphics.WindowedMode
Returns whether this graphics engine is using buffer strategy or volatile image.
isCollide(Sprite, Sprite, CollisionShape, CollisionShape) - Method in class com.golden.gamedev.object.collision.BasicCollisionGroup
Performs collision check between Sprite s1 and Sprite s2, and returns true if the sprites (shape1, shape2) is collided.
isCollide(Sprite, Sprite, CollisionShape, CollisionShape) - Method in class com.golden.gamedev.object.collision.CollisionGroup
Performs collision check between Sprite s1 and Sprite s2, and returns true if the sprites (shape1, shape2) is collided.
isCollide(Sprite, Sprite, CollisionShape, CollisionShape) - Method in class com.golden.gamedev.object.collision.PreciseCollisionGroup
Performs collision check between Sprite s1 and Sprite s2, and returns true if the sprites (shape1, shape2) is collided.
isCollisionSide(int) - Method in class com.golden.gamedev.object.collision.CollisionBounds
Returns true, the sprite is collide at it side side.
isDistribute() - Method in class com.golden.gamedev.Game
Returns whether this game is ready to distribute or still in development stage.
isExclusive() - Method in class com.golden.gamedev.engine.BaseAudio
Returns true, if only one clip is allowed to play at a time.
isFinish() - Method in class com.golden.gamedev.Game
Returns true, if the game has been finished playing and the game is about to return back to operating system.
isImmutable() - Method in class com.golden.gamedev.object.Sprite
Returns whether this sprite is immutable or not.
isKeyDown(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified key is being pressed.
isKeyDown(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isKeyPressed(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified key is being pressed.
isKeyPressed(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isKeyReleased(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified key is being released.
isKeyReleased(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isLoop() - Method in class com.golden.gamedev.engine.BaseAudio
Returns true, if all the audio sounds are played continously.
isLoop() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns whether the audio is playing continuosly or not.
isLoopAnim() - Method in class com.golden.gamedev.object.AnimatedSprite
Returns whether this sprite animation is looping continously or not.
isMouseDown(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified button is being pressed.
isMouseDown(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isMouseExists() - Method in interface com.golden.gamedev.engine.BaseInput
Returns true, if the mouse pointer is in input component area.
isMouseExists() - Method in class com.golden.gamedev.engine.input.AWTInput
 
isMousePressed(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified button is being pressed.
isMousePressed(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isMouseReleased(int) - Method in interface com.golden.gamedev.engine.BaseInput
Returns true if the specified button is being released.
isMouseReleased(int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
isMouseVisible() - Method in interface com.golden.gamedev.engine.BaseInput
Returns mouse pointer visible status.
isMouseVisible() - Method in class com.golden.gamedev.engine.input.AWTInput
 
IsometricBackground - Class in com.golden.gamedev.object.background
The basic isometric background, creates a one layer isometric background.
IsometricBackground(BufferedImage[], int[][], int, int) - Constructor for class com.golden.gamedev.object.background.IsometricBackground
Creates new IsometricBackground with specified tile images, array of tiles, offset of tile height, and starting y coordinate.
IsometricBackground(BufferedImage[], int[][]) - Constructor for class com.golden.gamedev.object.background.IsometricBackground
Creates new IsometricBackground with specified tile images and array of tiles.
IsometricBackground(BufferedImage[], int, int) - Constructor for class com.golden.gamedev.object.background.IsometricBackground
Creates new IsometricBackground with specified tile images as big as horiz and vert tiles.
isOnScreen(int, int, int, int) - Method in class com.golden.gamedev.object.Sprite
Returns whether the screen is still on background screen area in specified offset.
isOnScreen() - Method in class com.golden.gamedev.object.Sprite
Returns whether the screen is still on background screen area.
isPixelCollide(double, double, BufferedImage, double, double, BufferedImage) - Static method in class com.golden.gamedev.object.CollisionManager
Returns true whether image1 at x1, y1 collided with image2 at x2, y2.
isRunning() - Method in interface com.golden.gamedev.engine.BaseTimer
Returns whether the timer is currently running or not.
isRunning() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
isRunning() - Method in class com.golden.gamedev.Game
Returns whether the game is currently running/playing or not.
isVolumeSupported() - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
isVolumeSupported() - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
isVolumeSupported() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Returns whether setting audio volume is supported or not.

J

JAVA_VERSION - Static variable in class com.golden.gamedev.GameLoader
The installed Java Virtual Machine (JVM) version on player machine.
JUSTIFY - Static variable in interface com.golden.gamedev.object.GameFont
Text alignment: justify alignment.

K

KeyCapture - Class in com.golden.gamedev.funbox
KeyCapture is a utility to capture key sequence combination, usually used to turn on cheat mode.
KeyCapture(BaseInput, int[], int) - Constructor for class com.golden.gamedev.funbox.KeyCapture
Creates new KeyCapture with specified input, key, delay, and listener.
KeyCapture(BaseInput, String, int) - Constructor for class com.golden.gamedev.funbox.KeyCapture
Creates new KeyCapture with specified input, key sequence in string, delay, and listener.
keyCaptured() - Method in class com.golden.gamedev.funbox.KeyCapture
Received key captured event when the key sequence combination is successfully captured.
keyDown(int) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.isKeyDown(int).
keyDown(int) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.isKeyDown(int).
keyPressed(KeyEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
keyPressed(int) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.isKeyPressed(int).
keyPressed(int) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.isKeyPressed(int).
keyReleased(KeyEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
keyTyped(KeyEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 

L

LEFT - Static variable in interface com.golden.gamedev.object.GameFont
Text alignment: left alignment.
LEFT_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionBounds
Indicates the sprite is collided at its left.
LEFT_RIGHT_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionGroup
Indicates the collision side of the collided sprites is the left of first sprite againts the right of other sprite.
LibInfo - Class in com.golden.gamedev.funbox
Class to inform beginner GTGE users that GTGE is a library, thus it can't be run by double clicking it like a normal application, GTGE does not have any GUI/form/frame.
LibInfo() - Constructor for class com.golden.gamedev.funbox.LibInfo
LibInfo class constructor, do nothing.

M

main(String[]) - Static method in class com.golden.gamedev.funbox.LibInfo
Main method to run this info frame.
meta(MetaMessage) - Method in class com.golden.gamedev.engine.audio.MidiRenderer
Notified when the sound has finished playing.
MidiRenderer - Class in com.golden.gamedev.engine.audio
Play midi sound (*.mid).
MidiRenderer() - Constructor for class com.golden.gamedev.engine.audio.MidiRenderer
Creates new midi audio renderer.
MINIMUM_VERSION - Variable in class com.golden.gamedev.GameLoader
The minimum Java version that the game known can be run properly.
mixElements(Object) - Static method in class com.golden.gamedev.util.Utility
Shuffles elements in an array.
mouseClicked(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mouseDragged(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mouseEntered(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mouseExited(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mouseMove(int, int) - Method in interface com.golden.gamedev.engine.BaseInput
Move the mouse to x, y screen coordinate.
mouseMove(int, int) - Method in class com.golden.gamedev.engine.input.AWTInput
 
mouseMoved(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mousePressed(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
mouseReleased(MouseEvent) - Method in class com.golden.gamedev.engine.input.AWTInput.InputListener
 
move(double, double) - Method in class com.golden.gamedev.object.Background
Moves background location by specified pixels.
move(double, double) - Method in class com.golden.gamedev.object.collision.CollisionRect
 
move(double, double) - Method in interface com.golden.gamedev.object.collision.CollisionShape
Moves this collision shape by specified delta.
move(double, double) - Method in class com.golden.gamedev.object.Sprite
Moves this sprite as far as delta x (dx) and delta y (dy).
moveTo(long, double, double, double) - Method in class com.golden.gamedev.object.Sprite
Attempts to move this sprite to specified xs, ys location, if the sprite is right on specified location, this method will return true.
moveX(double) - Method in class com.golden.gamedev.object.Sprite
Moves sprite x coordinate as far as delta x (dx).
moveY(double) - Method in class com.golden.gamedev.object.Sprite
Moves sprite y coordinate as far as delta y (dy).
MULTIPLE - Static variable in class com.golden.gamedev.engine.BaseAudio
Multiple audio clips can be played at the same time (simultaneous).

N

nextGame - Variable in class com.golden.gamedev.GameEngine
GameObject to be played next, null to exit game.
nextGameID - Variable in class com.golden.gamedev.GameEngine
Game ID to be played next, -1 to exit game.
NO_BUTTON - Static variable in interface com.golden.gamedev.engine.BaseInput
Indicates no mouse button is being pressed.
NO_KEY - Static variable in interface com.golden.gamedev.engine.BaseInput
Indicates no key is being pressed.
notifyError(Throwable) - Method in class com.golden.gamedev.Game
Notified of any unexpected or uncatch error thrown by the game when the game is ready to distribute (distribute = true).
notifyExit() - Method in class com.golden.gamedev.Game
Notified when the game is about to quit.

O

ONSCREEN_GROUP - Variable in class com.golden.gamedev.object.AdvanceSpriteGroup
Inner sprite group that hold on screen sprites (inside view area sprites) of this group.

P

paint(Graphics) - Method in class com.golden.gamedev.GameLoader
Draw essentials informations in applet game, for example : draw info when waiting the game to show up, or when the game is throwing an exception.
ParallaxBackground - Class in com.golden.gamedev.object.background
ParallaxBackground class is a background composed by several backgrounds.
ParallaxBackground(Background[]) - Constructor for class com.golden.gamedev.object.background.ParallaxBackground
Creates new ParallaxBackground.
parent - Variable in class com.golden.gamedev.GameObject
The master GameEngine frame work.
PatternSprite - Class in com.golden.gamedev.object.sprite
Sprite that its images is taken from another sprite (the pattern).
PatternSprite(Sprite, double, double) - Constructor for class com.golden.gamedev.object.sprite.PatternSprite
Creates new PatternSprite with specified pattern and coordinate.
PatternSprite(Sprite) - Constructor for class com.golden.gamedev.object.sprite.PatternSprite
Creates new PatternSprite with specified pattern.
pixelPerfectCollision - Variable in class com.golden.gamedev.object.collision.BasicCollisionGroup
Indicates whether this collision detection should use pixel-perfect precision or not.
play(String) - Method in class com.golden.gamedev.engine.BaseAudio
Plays audio clip with default policy.
play(String, int) - Method in class com.golden.gamedev.engine.BaseAudio
Plays an audio clip based on specified policy (BaseAudio.SINGLE, BaseAudio.MULTIPLE, BaseAudio.SINGLE_REPLAY).
play(URL) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Stops currently played audio and begins playback of specified audio file.
play() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Restarts last or currently played audio.
PlayField - Class in com.golden.gamedev.object
PlayField class is the game arena where all the game objects are put on.
PlayField(Background) - Constructor for class com.golden.gamedev.object.PlayField
Constructs new PlayField with specified background.
PlayField() - Constructor for class com.golden.gamedev.object.PlayField
Constructs new PlayField with default background.
PLAYING - Static variable in class com.golden.gamedev.engine.BaseAudioRenderer
Audio renderer status indicates that the audio is currently playing.
playMusic(String) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsMusic.play(String).
playMusic(String) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsMusic.play(String).
playSound(URL) - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
playSound(URL) - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
playSound(URL) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Plays sound with specified audio file.
playSound(String) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsSound.play(String).
playSound(String) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsSound.play(String).
PreciseCollisionGroup - Class in com.golden.gamedev.object.collision
Subclass of CollisionGroup that calculate precise sprite position after collision.
PreciseCollisionGroup() - Constructor for class com.golden.gamedev.object.collision.PreciseCollisionGroup
Creates new collision group precise.
printCollisionSide() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Prints collision side of current collision to console (for debugging).
printStackTrace() - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Prints exception stack trace along with the system information to the text area.
putFont(String, GameFont) - Method in class com.golden.gamedev.object.GameFontManager
Inserts font with specified name to font manager storage.

R

rect1 - Variable in class com.golden.gamedev.object.collision.BasicCollisionGroup
Default collision shape used as every sprites in group 1 bounding box.
rect1 - Variable in class com.golden.gamedev.object.collision.CollisionBounds
Default sprite bounding box used in CollisionBounds.getCollisionShape1(Sprite).
rect2 - Variable in class com.golden.gamedev.object.collision.BasicCollisionGroup
Default collision shape used as every sprites in group 2 bounding box.
refresh() - Method in interface com.golden.gamedev.engine.BaseInput
Refresh all input actions to empty.
refresh() - Method in interface com.golden.gamedev.engine.BaseTimer
Refreshs timer elapsed time.
refresh() - Method in class com.golden.gamedev.engine.input.AWTInput
 
refresh() - Method in class com.golden.gamedev.engine.timer.FPSCounter
Refresh the FPS counter, reset the fps to 0 and the timer counter to start counting from current time.
refresh() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
refresh() - Method in class com.golden.gamedev.funbox.KeyCapture
Refreshs captured key sequence.
refresh() - Method in class com.golden.gamedev.GameEngine
Refresh game global variables, called right before playing next game object.
refresh() - Method in class com.golden.gamedev.object.Timer
Refreshs the timer counter (current tick).
remove(int) - Method in class com.golden.gamedev.object.SpriteGroup
Removes sprite at specified index from this group.
remove(Sprite) - Method in class com.golden.gamedev.object.SpriteGroup
Removes specified sprite from this group.
removeCollisionGroup(CollisionManager) - Method in class com.golden.gamedev.object.PlayField
Removes specified collision group from this playfield.
removeFont(Object) - Method in class com.golden.gamedev.object.GameFontManager
Removes font with specified name from font manager storage.
removeGroup(SpriteGroup) - Method in class com.golden.gamedev.object.PlayField
Removes specified sprite group from this playfield.
removeImage(BufferedImage) - Method in class com.golden.gamedev.engine.BaseLoader
Removes specified image from cache.
removeImage(String) - Method in class com.golden.gamedev.engine.BaseLoader
Removes image with specified image filename from cache.
removeImages(BufferedImage[]) - Method in class com.golden.gamedev.engine.BaseLoader
Removes specified images from cache.
removeImages(String) - Method in class com.golden.gamedev.engine.BaseLoader
Removes images with specified image filename from cache.
removeImmutableSprites() - Method in class com.golden.gamedev.object.SpriteGroup
Throws all inactive sprites from this group even the sprite is immutable sprite.
removeInactiveSprites() - Method in class com.golden.gamedev.object.SpriteGroup
Throws any inactive sprites from this group, this method won't remove immutable sprites, to remove all inactive sprites even though the inactive sprites are immutable use SpriteGroup.removeImmutableSprites().
render(Graphics2D) - Method in class com.golden.gamedev.funbox.LibInfo
 
render(Graphics2D) - Method in class com.golden.gamedev.Game
Renders game to the screen.
render(Graphics2D) - Method in class com.golden.gamedev.GameEngine
Global game render.
render(Graphics2D) - Method in class com.golden.gamedev.GameObject
Renders game to the screen.
render(Graphics2D) - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
 
render(Graphics2D, int, int) - Method in class com.golden.gamedev.object.AnimatedSprite
 
render(Graphics2D, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
 
render(Graphics2D, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
 
render(Graphics2D, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.background.ColorBackground
 
render(Graphics2D, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.background.ImageBackground
 
render(Graphics2D) - Method in class com.golden.gamedev.object.background.ParallaxBackground
 
render(Graphics2D) - Method in class com.golden.gamedev.object.Background
Renders background to specified graphics context.
render(Graphics2D, int, int, int, int, int, int) - Method in class com.golden.gamedev.object.Background
Renders background from specified position and clipping area to specified graphics context.
render(Graphics2D) - Method in class com.golden.gamedev.object.PlayField
Renders background, and sprite groups (with/without comparator).
render(Graphics2D, int, int) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
 
render(Graphics2D, int, int) - Method in class com.golden.gamedev.object.sprite.PatternSprite
 
render(Graphics2D) - Method in class com.golden.gamedev.object.Sprite
Renders this sprite to specified graphics context.
render(Graphics2D, int, int) - Method in class com.golden.gamedev.object.Sprite
Renders sprite image to specified graphics context and specified location.
render(Graphics2D) - Method in class com.golden.gamedev.object.SpriteGroup
Renders all active sprites in this group.
renderBackground(Graphics2D) - Method in class com.golden.gamedev.object.PlayField
Renders background to specified graphics context.
renderSpriteGroups(Graphics2D) - Method in class com.golden.gamedev.object.PlayField
Renders sprite groups to specified graphics context.
renderSpriteGroups(Graphics2D, Comparator) - Method in class com.golden.gamedev.object.PlayField
Renders all sprites using specified comparator.
renderTile(Graphics2D, int, int, int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Renders tile at tileX, tileY position to specified x, y coordinate.
renderTile(Graphics2D, int, int, int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Renders tile at tileX, tileY position to specified x, y coordinate.
renderTile(Graphics2D, int, int, int, int) - Method in class com.golden.gamedev.object.background.IsometricBackground
 
renderTile(Graphics2D, int, int, int, int) - Method in class com.golden.gamedev.object.background.TileBackground
 
replaySound(URL) - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
replaySound(URL) - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
replaySound(URL) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Replays last played sound.
reset() - Method in class com.golden.gamedev.object.SpriteGroup
Removes all group members, same with SpriteGroup.clear(), except this method also removes sprite memory reference immediately.
resize(BufferedImage, int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Resizes an image into specified size.
revertPosition1() - Method in class com.golden.gamedev.object.collision.CollisionBounds
Reverts the sprite position before the collision occured.
revertPosition1() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Reverts sprite 1 position before the collision occured.
revertPosition2() - Method in class com.golden.gamedev.object.collision.CollisionGroup
Reverts sprite 2 position before the collision occured.
RIGHT - Static variable in interface com.golden.gamedev.object.GameFont
Text alignment: right alignment.
RIGHT_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionBounds
Indicates the sprite is collided at its right.
RIGHT_LEFT_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionGroup
Indicates the collision side of the collided sprites is the right of first sprite againts the left of other sprite.
rightClick() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.isMousePressed(java.awt.event.MouseEvent.BUTTON3).
rightClick() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.isMousePressed(java.awt.event.MouseEvent.BUTTON3).
rotate(BufferedImage, int) - Static method in class com.golden.gamedev.util.ImageUtil
Rotates an image by specified angle (clockwise).
run() - Method in class com.golden.gamedev.engine.BaseAudio
Thread implementation for managing audio renderers looping.
run() - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Thread implementation that actually create the dialog UI used whenever the game is in applet environment.
run() - Method in class com.golden.gamedev.funbox.GameSettings
Thread implementation when the user pressing 'OK' button, directly called GameSettings.start() method.
run() - Method in class com.golden.gamedev.GameLoader
In applet environment the game have to be started in a thread, this is the thread implementation that actually launch the applet game.

S

saveImage(BufferedImage, File) - Static method in class com.golden.gamedev.util.ImageUtil
Saves image into specified file.
screen - Static variable in class com.golden.gamedev.object.Background
Screen resolution dimension.
setActive(boolean) - Method in class com.golden.gamedev.engine.BaseAudio
Turn on/off this audio manager.
setActive(boolean) - Method in class com.golden.gamedev.funbox.KeyCapture
Sets active state of this key capture.
setActive(boolean) - Method in class com.golden.gamedev.object.CollisionManager
Sets the active state of this collision manager.
setActive(boolean) - Method in class com.golden.gamedev.object.Sprite
Sets active state of this sprite, only active sprite will be updated and rendered and check for collision.
setActive(boolean) - Method in class com.golden.gamedev.object.SpriteGroup
Sets active state of this group, inactive group won't be updated, rendered, and won't be checked for collision.
setActive(boolean) - Method in class com.golden.gamedev.object.Timer
Sets active state of this timer, inactive timer won't do any action.
setAnimate(boolean) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets true to animate this sprite.
setAnimation(int, int) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Sets sprite animation to specified status and direction.
setAnimationFrame(int, int) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets sprite animation sequence, starting from start frame and ended at finish frame.
setAnimationFrame(int[]) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Sets sprite animation frame to specified animation array.
setAnimationTimer(Timer) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets sprite animation timer.
setAudioPolicy(int) - Method in class com.golden.gamedev.engine.BaseAudio
Sets the default audio policy used by this audio manager to play audio sound when no audio policy is specified.
setBackground(Background) - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
 
setBackground(Background) - Method in class com.golden.gamedev.object.PlayField
Associates specified background to this playfield.
setBackground(Background) - Method in class com.golden.gamedev.object.Sprite
Associates specified background with this sprite.
setBackground(Background) - Method in class com.golden.gamedev.object.SpriteGroup
Associates specified background with this sprite group, the background will be used by all sprites in this group.
setBase(Class) - Method in class com.golden.gamedev.engine.BaseIO
Sets the base class where the resources will be taken from.
setBaseIO(BaseIO) - Method in class com.golden.gamedev.engine.BaseAudio
Sets BaseIO from where this audio manager is getting all audio sound resources.
setBaseIO(BaseIO) - Method in class com.golden.gamedev.engine.BaseLoader
Sets BaseIO where the image resources is loaded from.
setBaseRenderer(BaseAudioRenderer) - Method in class com.golden.gamedev.engine.BaseAudio
Sets specified audio renderer as this audio manager base renderer.
setBoundary(int, int, int, int) - Method in class com.golden.gamedev.object.collision.CollisionBounds
Sets the collision boundary, the sprite is bounded to this boundary.
setBounds(double, double, int, int) - Method in class com.golden.gamedev.object.collision.CollisionRect
 
setBounds(CollisionRect) - Method in class com.golden.gamedev.object.collision.CollisionRect
Sets the boundary of this colllision rect to be same with specified collision rect.
setBounds(double, double, int, int) - Method in interface com.golden.gamedev.object.collision.CollisionShape
Sets the boundary of this colllision shape to specified boundary.
setBuffer(int) - Method in class com.golden.gamedev.engine.BaseAudio
Sets total renderer allowed to create before audio manager attempt to replace idle renderer.
setClip(int, int, int, int) - Method in class com.golden.gamedev.object.Background
Sets background clipping area (viewport).
setClip(Rectangle) - Method in class com.golden.gamedev.object.Background
Sets background clipping area (viewport).
setCollisionGroup(SpriteGroup, SpriteGroup) - Method in class com.golden.gamedev.object.collision.CollisionBounds
 
setCollisionGroup(SpriteGroup, SpriteGroup) - Method in class com.golden.gamedev.object.CollisionManager
Associates specified sprite groups to this manager.
setColor(Color) - Method in class com.golden.gamedev.object.background.ColorBackground
Sets the background color.
setColor(Color) - Method in class com.golden.gamedev.object.font.SystemFont
Sets the color of this font, or null to draw the font following the graphics context active color.
setComparator(Comparator) - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
 
setComparator(Comparator) - Method in class com.golden.gamedev.object.PlayField
Sets playfield comparator, comparator is used for sorting the sprites before rendering.
setComparator(Comparator) - Method in class com.golden.gamedev.object.SpriteGroup
Sets comparator used for sorting sprites in this group.
setCurrentTick(long) - Method in class com.golden.gamedev.object.Timer
Sets timer current tick.
setDataID(Object) - Method in class com.golden.gamedev.object.Sprite
Sets sprite data ID, ID is used to mark a sprite from other sprite.
setDelay(long) - Method in class com.golden.gamedev.object.Timer
Sets timer delay time in milliseconds.
setDelayTime(int) - Method in class com.golden.gamedev.funbox.KeyCapture
Sets the delay time each key typing allowed in milliseconds.
setDirection(int) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Sets new sprite direction.
setEquals(Timer) - Method in class com.golden.gamedev.object.Timer
Makes this timer state equals with other timer, this include active state, delay time, and timer current tick.
setExclusive(boolean) - Method in class com.golden.gamedev.engine.BaseAudio
Sets whether only one clip is allowed to play at a time or not.
setExpandFactor(int) - Method in class com.golden.gamedev.object.SpriteGroup
Sets allocation size for empty sprite (null sprite).
setExtension(File, String) - Static method in class com.golden.gamedev.util.FileUtil
Sets file extension.
setFile(String, int) - Method in class com.golden.gamedev.engine.BaseIO
Returns file on specified path with specified mode for processing.
setFile(String) - Method in class com.golden.gamedev.engine.BaseIO
Returns file on specified path with this BaseIO default mode for processing.
setFPS(int) - Method in interface com.golden.gamedev.engine.BaseTimer
Sets this timer target frame per second to specified frame per second.
setFPS(int) - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
setFPS(int) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsTimer.setFPS(int).
setFPS(int) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsTimer.setFPS(int).
setFrame(int) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets current frame animation.
setHorizontalSpeed(double) - Method in class com.golden.gamedev.object.Sprite
Sets horizontal speed of the sprite, the speed is based on actual time in milliseconds, 1 means the sprite is moving as far as 1000 (1x1000ms) pixels in a second to the right, while negative value (-1) means the sprite is moving to the left.
setID(int) - Method in class com.golden.gamedev.object.Sprite
Sets sprite ID, ID is used to mark a sprite from other sprite.
setImage(BufferedImage) - Method in class com.golden.gamedev.object.AnimatedSprite
This method is obsolete on animated sprite, since animated sprite always use several images for its animation.
setImage(BufferedImage) - Method in class com.golden.gamedev.object.background.ImageBackground
Sets this background image, and the size of this background is set to the image size.
setImage(BufferedImage) - Method in class com.golden.gamedev.object.Sprite
Sets specified image as this sprite image.
setImageFont(BufferedImage[], String) - Method in class com.golden.gamedev.object.font.AdvanceBitmapFont
 
setImageFont(BufferedImage[], String) - Method in class com.golden.gamedev.object.font.BitmapFont
Sets images font to draw this bitmap font.
setImages(BufferedImage[]) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets sprite animation images.
setImmutable(boolean) - Method in class com.golden.gamedev.object.Sprite
Sets immutable state of this sprite, immutable sprite means the sprite won't be removed from its group even though the sprite is not active.
setKeySequence(int[]) - Method in class com.golden.gamedev.funbox.KeyCapture
Sets new key sequence key code.
setKeySequence(String) - Method in class com.golden.gamedev.funbox.KeyCapture
Parse String st into key sequence.
setLayer(int) - Method in class com.golden.gamedev.object.Sprite
Sets the layer of this sprite.
setLocation(double, double) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
 
setLocation(double, double) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
 
setLocation(double, double) - Method in class com.golden.gamedev.object.background.ParallaxBackground
 
setLocation(double, double) - Method in class com.golden.gamedev.object.Background
Sets background location to specified coordinate.
setLocation(double, double) - Method in class com.golden.gamedev.object.collision.CollisionRect
 
setLocation(double, double) - Method in interface com.golden.gamedev.object.collision.CollisionShape
Moves this collision shape to specified location.
setLocation(double, double) - Method in class com.golden.gamedev.object.Sprite
Sets this sprite coordinate to specified location on the background.
setLoop(boolean) - Method in class com.golden.gamedev.engine.BaseAudio
Sets whether all the audio sounds should be played continously or not.
setLoop(boolean) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Sets whether the sound should be playing continuously until stop method is called or not.
setLoopAnim(boolean) - Method in class com.golden.gamedev.object.AnimatedSprite
Sets true to animate this sprite continously.
setMaskColor(Color) - Method in class com.golden.gamedev.engine.BaseLoader
Sets image loader masking color.
setMaskColor(Color) - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsLoader.setMaskColor(java.awt.Color).
setMaskColor(Color) - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsLoader.setMaskColor(java.awt.Color).
setMaxSimultaneous(int) - Method in class com.golden.gamedev.engine.BaseAudio
Sets maximum simultaneous same audio sound can be played at a time.
setMode(int) - Method in class com.golden.gamedev.engine.BaseIO
Sets the default IO mode used for getting the resources.
setModifiers(int[]) - Method in class com.golden.gamedev.funbox.KeyCapture
Sets key modifiers of this key capture.
setModifiers(int) - Method in class com.golden.gamedev.funbox.KeyCapture
Sets key modifiers of this key capture.
setMouseVisible(boolean) - Method in interface com.golden.gamedev.engine.BaseInput
Sets mouse pointer visible status.
setMouseVisible(boolean) - Method in class com.golden.gamedev.engine.input.AWTInput
 
setMovement(double, double) - Method in class com.golden.gamedev.object.Sprite
Moves sprite with specified angle, and speed.
setName(String) - Method in class com.golden.gamedev.object.SpriteGroup
Sets the name of this group.
setParallaxBackground(Background[]) - Method in class com.golden.gamedev.object.background.ParallaxBackground
Sets parallax background stacked backgrounds.
setPattern(Sprite) - Method in class com.golden.gamedev.object.sprite.PatternSprite
Sets the pattern of this sprite.
setSize(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
 
setSize(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Sets the size of this background (in tiles).
setSize(int, int) - Method in class com.golden.gamedev.object.background.IsometricBackground
 
setSize(int, int) - Method in class com.golden.gamedev.object.Background
Sets the size of this background.
setSize(int, int) - Method in class com.golden.gamedev.object.background.TileBackground
 
setSoundVolume(float) - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
setSoundVolume(float) - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
setSoundVolume(float) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Sets audio sound volume.
setSpeed(double, double) - Method in class com.golden.gamedev.object.Sprite
Sets the speed of this sprite, the speed is based on actual time in milliseconds, 1 means the sprite is moving as far as 1000 (1x1000ms) pixels in a second.
setStartY(int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Sets starting y coordinate where the isometric background start rendered.
setStatus(int) - Method in class com.golden.gamedev.object.sprite.AdvanceSprite
Sets new sprite status.
setTileImages(BufferedImage[], int) - Method in class com.golden.gamedev.object.background.IsometricBackground
Sets the isometric background tile images.
setTileImages(BufferedImage[]) - Method in class com.golden.gamedev.object.background.TileBackground
Sets the tile background tile images.
setTileLocation(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Sets the background location to specified tile.
setTileLocation(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Sets the background location to specified tile.
setTiles(int[][]) - Method in class com.golden.gamedev.object.background.IsometricBackground
Sets the isometric background tiling.
setTiles(int[][]) - Method in class com.golden.gamedev.object.background.TileBackground
Sets the background tiling.
setTileSize(int, int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground
Sets the size of the iso tile.
setTileSize(int, int) - Method in class com.golden.gamedev.object.background.abstraction.AbstractTileBackground
Sets the background tile size.
setToCenter(int, int, int, int) - Method in class com.golden.gamedev.object.Background
Sets specified rectangle as the center of the background's viewport.
setToCenter(Sprite) - Method in class com.golden.gamedev.object.Background
Sets specified sprite as the center of the background's viewport.
setup(Game, Dimension, boolean, boolean) - Method in class com.golden.gamedev.GameLoader
Initializes graphics engine with specified size, mode, bufferstrategy, and associates it with specified Game object.
setup(Game, Dimension, boolean) - Method in class com.golden.gamedev.GameLoader
Initializes graphics engine with specified size, mode, using bufferstrategy by default, and associates it with specified Game object.
setVerticalSpeed(double) - Method in class com.golden.gamedev.object.Sprite
Sets vertical speed of the sprite, the speed is based on actual time in milliseconds, 1 means the sprite is moving as far as 1000 (1x1000ms) pixels in a second to the bottom, while negative value (-1) means the sprite is moving to the top.
setVolume(float) - Method in class com.golden.gamedev.engine.BaseAudio
Sets audio manager volume range in [0.0f - 1.0f].
setVolume(float) - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Sets audio volume in [0.0f - 1.0f].
setWindowIcon(Image) - Method in interface com.golden.gamedev.engine.BaseGraphics
Sets graphics engine window icon image.
setWindowIcon(Image) - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
setWindowIcon(Image) - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
setWindowIcon(Image) - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
setWindowTitle(String) - Method in interface com.golden.gamedev.engine.BaseGraphics
Sets graphics engine window title.
setWindowTitle(String) - Method in class com.golden.gamedev.engine.graphics.AppletMode
 
setWindowTitle(String) - Method in class com.golden.gamedev.engine.graphics.FullScreenMode
 
setWindowTitle(String) - Method in class com.golden.gamedev.engine.graphics.WindowedMode
 
setX(double) - Method in class com.golden.gamedev.object.Sprite
Sets sprite x coordinate.
setY(double) - Method in class com.golden.gamedev.object.Sprite
Sets sprite y coordinate.
showCursor() - Method in class com.golden.gamedev.Game
Effectively equivalent to the call bsInput.setMouseVisible(true).
showCursor() - Method in class com.golden.gamedev.GameObject
Effectively equivalent to the call bsInput.setMouseVisible(true).
showLogo() - Method in class com.golden.gamedev.Game
Shows GTGE logo/splash screen, GTGE is freeware library, please support GTGE by showing this logo on your game, thank you.
shrink(int, int) - Method in class com.golden.gamedev.object.collision.CollisionRect
Shrinks this collision rect by h width, and v height.
SINGLE - Static variable in class com.golden.gamedev.engine.BaseAudio
Audio clip with a same name only can be played once at a time.
SINGLE_REPLAY - Static variable in class com.golden.gamedev.engine.BaseAudio
Same as BaseAudio.SINGLE policy except the audio clip is force to replay.
sleep() - Method in interface com.golden.gamedev.engine.BaseTimer
Sleeps for awhile to achieve requested frame per second and returns the elapsed time since last sleep.
sleep() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
sort(Sprite) - Method in class com.golden.gamedev.object.collision.AdvanceCollisionGroup
Determines all sprites that collided with Sprite source should be sorted or not before checking the actual collision.
sort(Comparator) - Method in class com.golden.gamedev.object.SpriteGroup
Sorts all sprites in this group with specified comparator.
sound - Variable in class com.golden.gamedev.funbox.GameSettings
Check box UI for sound option.
splashImage - Variable in class com.golden.gamedev.funbox.GameSettings
The splash image URL, null if the game has no splash image.
splitImages(BufferedImage, int, int) - Static method in class com.golden.gamedev.util.ImageUtil
Splits a single image into an array of images.
Sprite - Class in com.golden.gamedev.object
Sprite is the object in game that has graphical look and has its own behaviour.
Sprite(BufferedImage, double, double) - Constructor for class com.golden.gamedev.object.Sprite
Creates new Sprite with specified image and location.
Sprite(BufferedImage) - Constructor for class com.golden.gamedev.object.Sprite
Creates new Sprite with specified image and located at (0, 0).
Sprite(double, double) - Constructor for class com.golden.gamedev.object.Sprite
Creates new Sprite with specified position and null image.
Sprite() - Constructor for class com.golden.gamedev.object.Sprite
Creates new Sprite with null image and located at (0, 0).
sprite1 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The sprite from group 1 in current collision.
sprite2 - Variable in class com.golden.gamedev.object.collision.CollisionGroup
The sprite from group 2 in current collision.
SpriteGroup - Class in com.golden.gamedev.object
Group of sprites with common behaviour, for example PLAYER_GROUP, ENEMY_GROUP, etc.
SpriteGroup(String) - Constructor for class com.golden.gamedev.object.SpriteGroup
Creates a new sprite group, with specified name.
start() - Method in class com.golden.gamedev.engine.graphics.AppletMode
Initializes this applet graphics engine, do not attempt to use any graphics function before this method is automatically called by the browser.
start() - Method in class com.golden.gamedev.funbox.GameSettings
Starts the game with all the defined settings, the game is actually created in this method.
start() - Method in class com.golden.gamedev.Game
Starts the game main loop, this method will not return until the game is finished playing/running.
start() - Method in class com.golden.gamedev.GameLoader
Starts the game that have been loaded by this loader.
start() - Method in class com.golden.gamedev.GameObject
Starts the game main loop, this method will not return until the game is finished playing/running.
startTimer() - Method in interface com.golden.gamedev.engine.BaseTimer
Starts the timer, please set appropriate frame per second first before calling this method.
startTimer() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
status - Variable in class com.golden.gamedev.engine.BaseAudioRenderer
The audio renderer status.
stop(int) - Method in class com.golden.gamedev.engine.BaseAudio
Stops audio playback in specified slot.
stop(String) - Method in class com.golden.gamedev.engine.BaseAudio
Stops audio playback with specified name.
stop() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Stops currently played audio.
stop() - Method in class com.golden.gamedev.Game
Stops the game from running, and to resume the game call start() method.
stop() - Method in class com.golden.gamedev.GameLoader
Stops the game from running, to resume the game call GameLoader.start() again, please see note below.
stopAll() - Method in class com.golden.gamedev.engine.BaseAudio
Stops all played audio playbacks in this audio manager.
stopAll(BaseAudioRenderer) - Method in class com.golden.gamedev.engine.BaseAudio
Stops all played audio playbacks in this audio manager except specified renderer.
STOPPED - Static variable in class com.golden.gamedev.engine.BaseAudioRenderer
Audio renderer status indicates that the audio is currently stopped.
stopSound() - Method in class com.golden.gamedev.engine.audio.MidiRenderer
 
stopSound() - Method in class com.golden.gamedev.engine.audio.WaveRenderer
 
stopSound() - Method in class com.golden.gamedev.engine.BaseAudioRenderer
Stops any playing sound.
stopTimer() - Method in interface com.golden.gamedev.engine.BaseTimer
Stops this timer.
stopTimer() - Method in class com.golden.gamedev.engine.timer.SystemTimer
 
storeImage(String, BufferedImage) - Method in class com.golden.gamedev.engine.BaseLoader
Stores image into cache with specified key.
storeImages(String, BufferedImage[]) - Method in class com.golden.gamedev.engine.BaseLoader
Stores images into cache with specified key.
SYSTEM_LOADER - Static variable in class com.golden.gamedev.engine.BaseIO
IO mode constant for system loader.
SystemFont - Class in com.golden.gamedev.object.font
SystemFont is standard AWT Font wrapped in game font interface to be able to draw AWT Font in alignment and other technique.
SystemFont(Font, Color) - Constructor for class com.golden.gamedev.object.font.SystemFont
Creates new SystemFont with specified AWT Font, and color.
SystemFont(Font) - Constructor for class com.golden.gamedev.object.font.SystemFont
Creates new SystemFont with specified AWT Font, and the color is following graphics context active color.
SystemTimer - Class in com.golden.gamedev.engine.timer
The standard timer used in Golden T Game Engine (GTGE) Frame Work.
SystemTimer() - Constructor for class com.golden.gamedev.engine.timer.SystemTimer
Constructs new SystemTimer.

T

takeScreenShot() - Method in class com.golden.gamedev.Game
Returns a new created buffered image which the current game state is rendered into it.
takeScreenShot(File) - Method in class com.golden.gamedev.Game
Captures current game screen into specified file.
takeScreenShot() - Method in class com.golden.gamedev.GameObject
Returns a new created buffered image which the current game state is rendered into it.
takeScreenShot(File) - Method in class com.golden.gamedev.GameObject
Captures current game screen into specified file.
textArea - Variable in class com.golden.gamedev.funbox.ErrorNotificationDialog
The text area UI where the game exception is printed out.
TileBackground - Class in com.golden.gamedev.object.background
The basic tiling background, creates a one layer background tile.
TileBackground(BufferedImage[], int[][]) - Constructor for class com.golden.gamedev.object.background.TileBackground
Creates new TileBackground with specified tile images and array of tiles.
TileBackground(BufferedImage[], int, int) - Constructor for class com.golden.gamedev.object.background.TileBackground
Creates new TileBackground with specified tile images, as big as horiz, vert tiles.
Timer - Class in com.golden.gamedev.object
Class to manage timing in GTGE Frame Work to create game independent of frame rate.
Timer(int) - Constructor for class com.golden.gamedev.object.Timer
Creates new Timer with specified delay time in milliseconds.
title - Variable in class com.golden.gamedev.funbox.ErrorNotificationDialog
The game title.
toByteArray(BufferedImage, String) - Static method in class com.golden.gamedev.util.ImageUtil
Saves image into byte array.
TOP_BOTTOM_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionGroup
Indicates the collision side of the collided sprites is the top of first sprite againts the bottom of other sprite.
TOP_COLLISION - Static variable in class com.golden.gamedev.object.collision.CollisionBounds
Indicates the sprite is collided at its top.
toString() - Method in class com.golden.gamedev.engine.BaseIO
 
toString() - Method in class com.golden.gamedev.engine.BaseLoader
 
toString() - Method in class com.golden.gamedev.funbox.KeyCapture
 
toString() - Method in class com.golden.gamedev.object.collision.CollisionRect
 
toString() - Method in class com.golden.gamedev.object.font.BitmapFont
 
toString() - Method in class com.golden.gamedev.object.font.SystemFont
 
toString() - Method in class com.golden.gamedev.object.SpriteGroup
 

U

update(LineEvent) - Method in class com.golden.gamedev.engine.audio.WaveRenderer
Notified when the sound is stopped externally.
update(long) - Method in interface com.golden.gamedev.engine.BaseInput
Updates input engine actions, this method need to be called in tight loop.
update(long) - Method in class com.golden.gamedev.engine.input.AWTInput
 
update(long) - Method in class com.golden.gamedev.funbox.KeyCapture
Updates key capture, this method need to be called in tight loop.
update(long) - Method in class com.golden.gamedev.funbox.LibInfo
 
update(long) - Method in class com.golden.gamedev.Game
Updates game variables.
update(long) - Method in class com.golden.gamedev.GameEngine
Global game update.
update(long) - Method in class com.golden.gamedev.GameObject
Updates game variables.
update(long) - Method in class com.golden.gamedev.object.AdvanceSpriteGroup
 
update(long) - Method in class com.golden.gamedev.object.AnimatedSprite
 
update(long) - Method in class com.golden.gamedev.object.background.ParallaxBackground
 
update(long) - Method in class com.golden.gamedev.object.Background
Updates this background, this method is usually used to create background animation or other special effect on the background.
update(long) - Method in class com.golden.gamedev.object.PlayField
Updates sprites, background, and check for collisions.
update(long) - Method in class com.golden.gamedev.object.Sprite
Updates this sprite.
update(long) - Method in class com.golden.gamedev.object.sprite.VolatileSprite
 
update(long) - Method in class com.golden.gamedev.object.SpriteGroup
Updates all active sprites in this group, and check the schedule for removing inactive sprites.
updateAnimation() - Method in class com.golden.gamedev.object.AnimatedSprite
Updates sprite animation.
updateBackground(long) - Method in class com.golden.gamedev.object.PlayField
Updates playfield background.
updateMovement(long) - Method in class com.golden.gamedev.object.Sprite
Updates sprite movement.
updateSpriteGroups(long) - Method in class com.golden.gamedev.object.PlayField
Updates sprites in sprite groups on this playfield.
Utility - Class in com.golden.gamedev.util
Utility class provides general functions, such as array enlargement/shrinkment operation, array mixed, randomize, and other functions that categorized as common functions.

V

validJavaVersion() - Method in class com.golden.gamedev.GameLoader
Returns whether the Java version is passed the minimum Java version requirement or not.
VolatileSprite - Class in com.golden.gamedev.object.sprite
One time animation sprite, the sprite is animated once, and then disappeared, suitable for explosion type sprite.
VolatileSprite(BufferedImage[], double, double) - Constructor for class com.golden.gamedev.object.sprite.VolatileSprite
Creates new VolatileSprite.
volume - Variable in class com.golden.gamedev.engine.BaseAudioRenderer
The audio sound volume.

W

WaveRenderer - Class in com.golden.gamedev.engine.audio
Play wave sound (*.wav, *.au).
WaveRenderer() - Constructor for class com.golden.gamedev.engine.audio.WaveRenderer
Creates new wave audio renderer.
width - Variable in class com.golden.gamedev.object.collision.CollisionRect
The width of this collision rect.
width - Variable in class com.golden.gamedev.object.Sprite
The width of this sprite.
windowActivated(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowActivated(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowActivated(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
windowClosed(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowClosed(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowClosed(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
windowClosing(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Calls System.exit(0) to force Java Virtual Machine to quit when the close button of the parent object is pressed.
windowClosing(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Closes this error notification dialog by calling ErrorNotificationDialog.closeDialog() when the window close button is pressed.
windowClosing(WindowEvent) - Method in class com.golden.gamedev.GameLoader
If the user pressing frame close button while playing in WindowedMode or FullScreenMode, this method will receive the closing event.
windowDeactivated(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowDeactivated(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowDeactivated(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
windowDeiconified(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowDeiconified(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowDeiconified(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
WindowedMode - Class in com.golden.gamedev.engine.graphics
Graphics engine for Windowed Environment.
WindowedMode(Dimension, boolean) - Constructor for class com.golden.gamedev.engine.graphics.WindowedMode
Creates new instance of Windowed Graphics Engine with specified size, and whether want to use bufferstrategy or volatile image.
WindowExitListener - Class in com.golden.gamedev.engine.graphics
WindowExitListener class is a dummy window listener class that that forcing Java Virtual Machine to quit by calling System.exit().
windowIconified(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowIconified(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowIconified(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
windowOpened(WindowEvent) - Method in class com.golden.gamedev.engine.graphics.WindowExitListener
Do nothing.
windowOpened(WindowEvent) - Method in class com.golden.gamedev.funbox.ErrorNotificationDialog
Do nothing.
windowOpened(WindowEvent) - Method in class com.golden.gamedev.GameLoader
Do nothing.
WORKING_DIRECTORY - Static variable in class com.golden.gamedev.engine.BaseIO
IO mode constant for working directory.

X

x - Variable in class com.golden.gamedev.object.Background
Background x coordinate.
x - Variable in class com.golden.gamedev.object.collision.CollisionRect
The x-coordinate of this collision rect.

Y

y - Variable in class com.golden.gamedev.object.Background
Background y coordinate.
y - Variable in class com.golden.gamedev.object.collision.CollisionRect
The y-coordinate of this collision rect.

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

Copyright © 2003-2005 Golden T Studios. All rights reserved. Use is subject to license terms.
GoldenStudios.or.id