|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Plant | |
|---|---|
| fishPond | |
| Uses of Plant in fishPond |
|---|
| Methods in fishPond that return types with arguments of type Plant | |
|---|---|
java.util.ArrayList<Plant> |
Model.getPlants()
Returns a COPY of the plants list. |
| Methods in fishPond with parameters of type Plant | |
|---|---|
void |
Model.addPlant(Plant p)
Attempts to add the plant p to plant list, if possible. |
static void |
Model.fishEatPlant(Fish f,
Plant p)
Fish f eats a portion of plant p. |
| Constructors in fishPond with parameters of type Plant | |
|---|---|
Plant(Plant other)
Standard copy constructor that merely copies the fields |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||