GTGE API

Serialized Form


Package com.golden.gamedev

Class com.golden.gamedev.GameLoader extends AppletMode implements Serializable

Serialized Fields

MINIMUM_VERSION

String MINIMUM_VERSION
The minimum Java version that the game known can be run properly. The default is 1.4.

How to change the minimum Java version :

    GameLoader game = new GameLoader();
    game.MINIMUM_VERSION = "1.4.2";
    game.setup(....);
    game.start();
 
In applet mode, minimum version is specified in applet param 'MINIMUM' tag.
For example:
    <PARAM NAME="MINIMUM" VALUE="1.4.2">
 


VALID_JAVA_VERSION

boolean VALID_JAVA_VERSION

INFO_MSG

String[] INFO_MSG
INFO MESSAGES


gfx

BaseGraphics gfx
Graphics engine loaded by this GameLoader.


game

Game game
The game (subclass of Game class) initialized by this GameLoader.

Class com.golden.gamedev.MiniApplet extends Applet implements Serializable

Serialized Fields

rnd

Random rnd

canvas

Canvas canvas

keyDown

boolean[] keyDown

running

boolean running

finish

boolean finish

bufferStrategy

BufferStrategy bufferStrategy

currentFPS

int currentFPS

frameCount

int frameCount

delay

int delay

lastCount

long lastCount

Class com.golden.gamedev.OpenGLGameLoader extends GameLoader implements Serializable


Package com.golden.gamedev.engine.graphics

Class com.golden.gamedev.engine.graphics.AppletMode extends Applet implements Serializable

Serialized Fields

canvas

Canvas canvas
AWT COMPONENT


strategy

BufferStrategy strategy
BACK BUFFER


currentGraphics

Graphics2D currentGraphics

Package com.golden.gamedev.funbox

Class com.golden.gamedev.funbox.ErrorNotificationDialog extends JDialog implements Serializable

Serialized Fields

error

Throwable error
The error exception of the game.

This is the exception that will be notified to the player.


bsGraphics

BaseGraphics bsGraphics
The graphics engine used by the game.


title

String title
The game title.


emailAddress

String emailAddress
The email address which the player should report the exception to.


textArea

JTextArea textArea
The text area UI where the game exception is printed out.

Class com.golden.gamedev.funbox.GameSettings extends JDialog implements Serializable

Serialized Fields

fullscreen

JCheckBox fullscreen
Check box UI for fullscreen option.


bufferstrategy

JCheckBox bufferstrategy
Check box UI for bufferstrategy option.


sound

JCheckBox sound
Check box UI for sound option.


btnOK

JButton btnOK
The OK button, clicking this button will launch the game.

See Also:
GameSettings.actionPerformed(ActionEvent)

btnCancel

JButton btnCancel
The Cancel button, clicking this button will abort the game.

See Also:
GameSettings.actionPerformed(ActionEvent)

splashImage

URL splashImage
The splash image URL, null if the game has no splash image.


Package com.golden.gamedev.object

Class com.golden.gamedev.object.AnimatedSprite extends Sprite implements Serializable

Serialized Fields

frame

int frame

startFrame

int startFrame

finishFrame

int finishFrame

animate

boolean animate

loopAnim

boolean loopAnim

animationTimer

Timer animationTimer

Class com.golden.gamedev.object.Background extends Object implements Serializable

Serialized Fields

x

double x
Background x coordinate.

See Also:
Background.setLocation(double, double)

y

double y
Background y coordinate.

See Also:
Background.setLocation(double, double)

width

int width

height

int height

clip

Rectangle clip

Class com.golden.gamedev.object.Sprite extends Object implements Serializable

Serialized Fields

background

Background background
SPRITE BACKGROUND


x

double x
SPRITE POSITION


y

double y
SPRITE POSITION


horizontalSpeed

double horizontalSpeed

verticalSpeed

double verticalSpeed

oldX

double oldX

oldY

double oldY

width

int width
The width of this sprite.


height

int height
The height of this sprite.


id

int id
SPRITE FLAGS


dataID

Object dataID

layer

int layer

active

boolean active

immutable

boolean immutable

Class com.golden.gamedev.object.Timer extends Object implements Serializable

Serialized Fields

active

boolean active
TIMER VARIABLES


delay

long delay

currentTick

long currentTick

Package com.golden.gamedev.object.background

Class com.golden.gamedev.object.background.ColorBackground extends Background implements Serializable

Serialized Fields

color

Color color

Class com.golden.gamedev.object.background.ImageBackground extends Background implements Serializable

Class com.golden.gamedev.object.background.IsometricBackground extends AbstractIsometricBackground implements Serializable

Serialized Fields

tiles

int[][] tiles

Class com.golden.gamedev.object.background.ParallaxBackground extends Background implements Serializable

Serialized Fields

stack

Background[] stack

total

int total

Class com.golden.gamedev.object.background.TileBackground extends AbstractTileBackground implements Serializable

Serialized Fields

tiles

int[][] tiles

Package com.golden.gamedev.object.background.abstraction

Class com.golden.gamedev.object.background.abstraction.AbstractIsometricBackground extends Background implements Serializable

Serialized Fields

tileWidth

int tileWidth

baseTileHeight

int baseTileHeight

halfTileWidth

int halfTileWidth

halfTileHeight

int halfTileHeight

offsetTileHeight

int offsetTileHeight

startX

int startX

startY

int startY

tileX

int tileX

tileY

int tileY

horiz

int horiz

vert

int vert

point1

Point point1

point2

Point point2

Class com.golden.gamedev.object.background.abstraction.AbstractTileBackground extends Background implements Serializable

Serialized Fields

tileWidth

int tileWidth
TILE PROPERTIES


tileHeight

int tileHeight
TILE PROPERTIES


tileX

int tileX

tileY

int tileY

offsetX

int offsetX

offsetY

int offsetY

horiz

int horiz

vert

int vert

point

Point point

Package com.golden.gamedev.object.sprite

Class com.golden.gamedev.object.sprite.AdvanceSprite extends AnimatedSprite implements Serializable

Serialized Fields

animationFrame

int[] animationFrame

status

int status

direction

int direction

Class com.golden.gamedev.object.sprite.PatternSprite extends Sprite implements Serializable

Serialized Fields

pattern

Sprite pattern

Class com.golden.gamedev.object.sprite.VolatileSprite extends AdvanceSprite implements Serializable


GTGE API

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