|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectNGP.Timer
cs015.Swarm.BeeBehavior
cs015.Swarm.MoveBehavior
This class represents an abstract superclass for all behaviors that move a class implementing the Directional interface.
BeeBehavior| Constructor Summary | |
MoveBehavior()
This constructor builds a MoveBehavior with a null target. |
|
MoveBehavior(Directional target)
This constructor builds a MoveBehavior with a directional as its target. |
|
| Method Summary | |
void |
activate()
This method is called at regular intervals. |
| Methods inherited from class cs015.Swarm.BeeBehavior |
copy, getTarget, setTarget |
| Methods inherited from class NGP.Timer |
actionPerformed, getDelay, setDelay, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MoveBehavior()
public MoveBehavior(Directional target)
target - The target this behavior will work on.| Method Detail |
public void activate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||