Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
F
fight(Fish)
- Method in class fishPond.
Fish
The current object battles the parameter (other).
Fish
- Class in
fishPond
The state of a fish consists of its position in the pond (row and column), it's size, and the direction in which it is moving (UP, DOWN, LEFT, or RIGHT).
Fish(int, int, int, int)
- Constructor for class fishPond.
Fish
Simply initializes the state of the fish with these parameters
Fish(Fish)
- Constructor for class fishPond.
Fish
Standard copy constructor -- just copies the fields
FISH_OVER_ROCK
- Static variable in exception fishPond.
IllegalFishPositionException
FISH_STARTING_SIZE
- Static variable in class fishPond.
Fish
Initial size of each fish when simulation begins
fishEatPlant(Fish, Plant)
- Static method in class fishPond.
Model
Fish f eats a portion of plant p.
fishExplosions()
- Method in class fishPond.
Model
THIS METHOD HAS BEEN WRITTEN FOR YOU!
fishPond
- package fishPond
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
P
R
S
T
U
V
W
Web Accessibility