|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Fish | |
---|---|
fishPond |
Uses of Fish in fishPond |
---|
Methods in fishPond that return types with arguments of type Fish | |
---|---|
java.util.ArrayList<Fish> |
Model.getFish()
Returns a COPY of the fish list. |
Methods in fishPond with parameters of type Fish | |
---|---|
void |
Model.addFish(Fish f)
Adds the fish f to the fish list, if possible. |
void |
Fish.fight(Fish other)
The current object battles the parameter (other). |
static void |
Model.fishEatPlant(Fish f,
Plant p)
Fish f eats a portion of plant p. |
Constructors in fishPond with parameters of type Fish | |
---|---|
Fish(Fish other)
Standard copy constructor -- just copies the fields |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |