|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNGP.Timer
cs015.SP.OpenCloseBehavior
Modified by Kalin Agrawal (kagrawal) to work with NGP on 7/1/1999
Constructor Summary | |
OpenCloseBehavior(SnowMouth target)
Initializes the behavior and stores the target mouth. |
Method Summary | |
void |
activate()
Makes the mouth 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 OpenCloseBehavior(SnowMouth target)
target
- the mouth to apply the behavior toMethod Detail |
public void activate()
public Timer Copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |