| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.fish.AFish
model.fish.GenericFish
model.fish.SlowFish
public class SlowFish
Class for a slow fish.
| Field Summary | |
|---|---|
| private  double | _probOfMovingProbability that this slow fish moves. | 
| Fields inherited from class sysModel.fish.AFish | 
|---|
| _fishColor, _fishDisplay, _probOfBreeding, _probOfDying | 
| Constructor Summary | |
|---|---|
| SlowFish(java.awt.Color fishColor)Create a new slow fish. | |
| Method Summary | |
|---|---|
| protected  void | move()Carry out movement behavior for the fish. | 
| 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 | 
| Field Detail | 
|---|
private double _probOfMoving
| Constructor Detail | 
|---|
public SlowFish(java.awt.Color fishColor)
fishColor - color of the fish| Method Detail | 
|---|
protected void move()
move in class GenericFish| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||