| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.fish.AFish
sysModel.fish.tests.Test_AFish.TestFish
private class Test_AFish.TestFish
| Field Summary | 
|---|
| Fields inherited from class sysModel.fish.AFish | 
|---|
| _fishColor, _fishDisplay, _probOfBreeding, _probOfDying | 
| Constructor Summary | |
|---|---|
| Test_AFish.TestFish(java.awt.Color c) | |
| Method Summary | |
|---|---|
|  void | age()Execute the aging part of a simulation step. | 
| protected  void | move()Execute the movement part of a simulation step. | 
|  void | paint(java.awt.Graphics2D g,
      java.awt.Component comp)Draw the fish. | 
| Methods inherited from class sysModel.fish.AFish | 
|---|
| act, breed, clone, die, draw, getColor, 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 Test_AFish.TestFish(java.awt.Color c)
| Method Detail | 
|---|
protected void move()
AFish
move in class AFish
public void paint(java.awt.Graphics2D g,
                  java.awt.Component comp)
AFish
paint in class AFishg - graphics object to drawFish on.comp - the component to drawFish onpublic void age()
AFish
age in class AFish| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||