|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.fish.AFish
model.fish.RockFish
public class RockFish
A rock "fish" that doesn't move.
| Field Summary |
|---|
| Fields inherited from class sysModel.fish.AFish |
|---|
_fishColor, _fishDisplay, _probOfBreeding, _probOfDying |
| Constructor Summary | |
|---|---|
RockFish(java.awt.Color fishColor)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
move()
Move 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 |
| Constructor Detail |
|---|
public RockFish(java.awt.Color fishColor)
fishColor - fish color| Method Detail |
|---|
protected void move()
move in class AFish
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||