|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Fish
FishWorld, a point and click game with fishes
Copyright (c) 2001,2002 by Stephan Uhlmann <su@su2.info>
published under the GPL
Field Summary | |
(package private) int |
direction
|
(package private) int |
dying
|
(package private) int |
height
|
(package private) int |
speed
|
(package private) java.awt.Image |
swimImage
|
(package private) int |
type
|
(package private) int |
width
|
(package private) int |
x
|
(package private) int |
y
|
Constructor Summary | |
(package private) |
Fish()
constructor |
Method Summary | |
(package private) boolean |
isHit(int sx,
int sy)
check whether fish is hit by shot at x/y |
(package private) void |
kill()
kills the fish by setting it to "dying" |
Methods inherited from class java.lang.Object |
|
Field Detail |
int type
int direction
int x
int y
int width
int height
int speed
int dying
java.awt.Image swimImage
Constructor Detail |
Fish()
Method Detail |
boolean isHit(int sx, int sy)
void kill()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |