Serialized Form

Class MainApplet implements Serializable

Serialized Fields

frogImage

java.awt.Image frogImage
Frog image (still)

frogEatImage

java.awt.Image frogEatImage
Frog image (eating)

flyImage

java.awt.Image flyImage
Fly image

refreshRate

long refreshRate
rehresh rate in millisecond

animation

java.lang.Thread animation
Thread for animation

fm

FlyManager fm
FlyManager for eating fly

fc

FlyCreator fc
FlyCreator for creating fly

width

int width
Display Width of the applet

height

int height
Display Height of the applet

frogHeight

int frogHeight
Height of the frog image in pixel

frogWidth

int frogWidth
Width of the frog image in pixel

frogY_pos

int frogY_pos
position of the frog image

eye_y

int eye_y
position of the frog's eye (y)

eye_x

int eye_x
position of the frog's eye (x)

eyeCenterX

int eyeCenterX
position of the center of frog's eye (x)

eyeCenterY

int eyeCenterY
position of the center of frog's eye (y)

eyeSize

int eyeSize
size of the frog's eye

eyeXOffset

int eyeXOffset
x offset for drawing the frog's eye

eyeYOffset

int eyeYOffset
y offset for drawing the frog's eye

drawTongue

int drawTongue
delay for drawing the tongue

tongue_y

int tongue_y
destination of the tongue (y)

tongue_x

int tongue_x
destination of the tongue (x)

mouth_x

int mouth_x
position of the mouth(x)

mouth_y

int mouth_y
position of the mouth(y)

eyeEmotion

int eyeEmotion
For displaying eye emotion, happy, sad, netural

backBufferImage

java.awt.Image backBufferImage
Back Image buffer for drawing

backBufferGraphics

java.awt.Graphics backBufferGraphics
Graphic context associate with the back image buffer