|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.fish.AFish
model.fish.DarterFish
public class DarterFish
Class for a darter fish.
| Field Summary |
|---|
| Fields inherited from class sysModel.fish.AFish |
|---|
_fishColor, _fishDisplay, _probOfBreeding, _probOfDying |
| Constructor Summary | |
|---|---|
DarterFish(java.awt.Color fishColor)
Create a new darter fish. |
|
| Method Summary | |
|---|---|
void |
move()
Execute the movement part of a simulation step. |
| Methods inherited from class sysModel.fish.AFish |
|---|
act, age, breed, clone, die, draw, getColor, paint, setLocalEnvironment, setProbOfBreeding, setProbOfDying, toString, tryBreedFwd, tryMoveFwd, turnLeft, turnLeft, turnRight, turnRight, update |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DarterFish(java.awt.Color fishColor)
fishColor - color of the fish| Method Detail |
|---|
public void move()
move in class AFish
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||