|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNGP.Timer
cs015.SP.WinkBehavior
This class is a behavior that takes a generic eye and makes it blink.
Constructor Summary | |
WinkBehavior(Eye target)
Initializes the behavior with a given eye as the target. |
Method Summary | |
void |
activate()
Makes the target eye open and close. |
Timer |
Copy()
Makes a copy of the behavior. |
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 WinkBehavior(Eye target)
target
- the target of the behaviorMethod Detail |
public void activate()
public Timer Copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |