|
||||||||||
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.DoNothingBehavior
This class represents a behavior that makes its target do nothing.
Constructor Summary | |
DoNothingBehavior()
This constructor builds this behavior with a null target |
|
DoNothingBehavior(Directional target)
This constructor builds this behavior with a target to act on. |
Method Summary | |
void |
activate()
Do not call this method yourself. |
BeeBehavior |
copy()
This method returns a copy of the behavior. |
Methods inherited from class cs015.Swarm.BeeBehavior |
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 DoNothingBehavior()
public DoNothingBehavior(Directional target)
target
- The target this behavior will act on.Method Detail |
public void activate()
public BeeBehavior copy()
copy
in class BeeBehavior
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |