All Packages  Class Hierarchy

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

Index of all Fields and Methods

A

addHighscore(int, String). Method in class Highscore
adds score/name to the highscore table, returns position in highscore table or -1 if no highscore

B

bg01. Variable in class FishWorld
bg02. Variable in class FishWorld
bg03. Variable in class FishWorld
bg04. Variable in class FishWorld
bg11. Variable in class FishWorld
bg12. Variable in class FishWorld
bg13. Variable in class FishWorld
bg14. Variable in class FishWorld
bubImages. Variable in class FishWorld

C

checkFishKill(). Method in class FishWorld
checks if a mouse click hit a fish and changes score then
clickLock. Variable in class FishWorld

D

dbGraphics. Variable in class FishWorld
dbImage. Variable in class FishWorld
direction. Variable in class Fish
drawFishes(Graphics). Method in class FishWorld
draws the fishes
dying. Variable in class Fish

F

Fish(). Constructor for class Fish
constructor
fishes. Variable in class FishWorld
fishImages. Variable in class FishWorld
FishWorld(). Constructor for class FishWorld

G

GAME_STATE_AFTER_GAME. Static variable in class FishWorld
GAME_STATE_AFTER_GAME_HIGHSCORE. Static variable in class FishWorld
GAME_STATE_BEFORE_GAME. Static variable in class FishWorld
GAME_STATE_IN_GAME. Static variable in class FishWorld
GAME_STATE_LOADING. Static variable in class FishWorld
gameState. Variable in class FishWorld
getAppletInfo(). Method in class FishWorld
returns info about this applet

H

height. Variable in class Fish
highscore. Variable in class FishWorld
Highscore(). Constructor for class Highscore
consctructor

I

init(). Method in class FishWorld
initializes the applet
isHighscore(int). Method in class Highscore
checks if score is in Highscore
isKilled(int, int). Method in class Fish
check whether fish is killed by shot at x/y and sets him to "dying" if so
isNewHighscore(int). Method in class Highscore
checks if score is a new Highscore

K

keyPressed. Variable in class FishWorld
keyPressedChar. Variable in class FishWorld

L

loadGraphics(). Method in class FishWorld
loads the graphics, increments loadProgress and calls repaint() after every loaded image (to display progress bar)
loadProgress. Variable in class FishWorld

M

mouseClicked. Variable in class FishWorld
mouseClickX. Variable in class FishWorld
mouseClickY. Variable in class FishWorld
moveFishes(). Method in class FishWorld
moves the fishes around and checks if a fish arrived at the other side
myBgColor. Variable in class FishWorld
myFgColor. Variable in class FishWorld
myFont. Variable in class FishWorld
myThread. Variable in class FishWorld

N

name. Variable in class FishWorld
name(int). Method in class Highscore
returns name of player no.
names. Variable in class Highscore
newFish(). Method in class FishWorld
creates a new Fish and adds him to the fishes Vector

P

paint(Graphics). Method in class FishWorld
paints the Applet, just calls update()
points. Variable in class Highscore
points(int). Method in class Highscore
returns number of points of player no.

R

run(). Method in class FishWorld
runs the Applet Thread, loops infinite until theadQuit is set to true

S

score. Variable in class FishWorld
speed. Variable in class Fish
start(). Method in class FishWorld
starts applet by forking a new Thread of ourself and starting this Thread
stop(). Method in class FishWorld
stops the Applet Thread by setting threadQuit to true and waiting until the Thread exists its run loop
swimImage. Variable in class Fish

T

threadQuit. Variable in class FishWorld
threadRunning. Variable in class FishWorld
type. Variable in class Fish

U

update(Graphics). Method in class FishWorld
paints the Applet depending from current gameState, uses double buffering

W

width. Variable in class Fish

X

x. Variable in class Fish

Y

y. Variable in class Fish