Serialized Form


Package jgame

Class jgame.JGEngine extends java.applet.Applet implements Serializable

Serialized Fields

path

java.lang.String path
Path from where files can be loaded; null means not initialised yet


thread

java.lang.Thread thread

canvas

JGCanvas canvas

listener

JGEngine.JGListener listener

fps

double fps

maxframeskip

double maxframeskip

target_time

long target_time

running

boolean running
Should engine thread run or halt? Set by start() / stop()


gamestate

java.util.Vector gamestate
Engine game state


in_parallel_upd

boolean in_parallel_upd
indicates when engine is inside a parallel object update (moveObjects, check*Collision)


timers

java.util.Vector timers

is_inited

boolean is_inited
signals that JGame globals are set, and exit code should null globals in JGObject


is_exited

boolean is_exited
signals that thread should die


i_am_applet

boolean i_am_applet

width

int width
width/height after scaling to screen; 0 is not initialised yet


height

int height
width/height after scaling to screen; 0 is not initialised yet


nrtilesx

int nrtilesx

nrtilesy

int nrtilesy

tilex

int tilex

tiley

int tiley

my_win

java.awt.Frame my_win

fg_color

java.awt.Color fg_color

bg_color

java.awt.Color bg_color

msg_font

java.awt.Font msg_font

animations

java.util.Hashtable animations

buf_gfx

java.awt.Graphics buf_gfx