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
- addHighscore(int, String).
Method in class Highscore
- adds score/name to the highscore table,
returns position in highscore table or -1 if no highscore
- 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
-
- checkFishKill().
Method in class FishWorld
- checks if a mouse click hit a fish and
changes score then
- clickLock.
Variable in class FishWorld
-
- 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
-
- Fish().
Constructor for class Fish
- constructor
- fishes.
Variable in class FishWorld
-
- fishImages.
Variable in class FishWorld
-
- FishWorld().
Constructor for class FishWorld
-
- 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
- height.
Variable in class Fish
-
- highscore.
Variable in class FishWorld
-
- Highscore().
Constructor for class Highscore
- consctructor
- 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
- keyPressed.
Variable in class FishWorld
-
- keyPressedChar.
Variable in class FishWorld
-
- 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
-
- 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
-
- 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
- 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.
- run().
Method in class FishWorld
- runs the Applet Thread, loops infinite until theadQuit is set to true
- 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
-
- threadQuit.
Variable in class FishWorld
-
- threadRunning.
Variable in class FishWorld
-
- type.
Variable in class Fish
-
- update(Graphics).
Method in class FishWorld
- paints the Applet depending from current gameState,
uses double buffering
- width.
Variable in class Fish
-
- x.
Variable in class Fish
-
- y.
Variable in class Fish
-