CLASS: FlyCreator
PURPOSE: This class will run as a thread and create fly using FlyManager
based on probabily and the time interval
IMPORT: FlyManager
EXPORT: New Class|FlyCreator New Method| FlyCreator, run
CLASS: FlyManager
PURPOSE: This class is the monitor of where the flies are and to manage them
IMPORT: java.util.Vector, java.awt.Image, java.awt.Graphics,
java.awt.image.ImageObserver, Fly
EXPORT: New Class|FlyManager New Method| FlyManager, createFly, eatFly
moveAllFly, paintAllFly
CLASS: MainApplet
PURPOSE: This class handle all the GUI action and this is also
the main class for the applet
IMPORT: java.applet.Applet, java.awt.Graphics, java.awt.Image,
java.awt.MediaTracker, java.awt.Color, java.awt.event.MouseListener,
java.awt.event.MouseMotionListener, java.awt.event.MouseEvent,
FlyManager, FlyCreator
EXPORT: New Class|MainApplet New Method| destroy, init, mouseClicked,
mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed,
mouseReleased, paint, run, setEyePos, update, drawFrog