|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcs015.SP.RoundEyes
Modified by Kalin Agrawal (kagrawal) to work with NGP, 7/1/1999
Field Summary |
Fields inherited from interface cs015.SP.SnowPersonConstants |
DIMENSION, LOCATION |
Constructor Summary | |
RoundEyes()
Initializes the eyes and positions them on the screen. |
Method Summary | |
void |
Blink()
Makes both eyes blink by adding an OpenClose behavior to them. |
void |
Close()
Closes both eyes. |
void |
Open()
Opens both eyes. |
void |
StartAnimate()
This method should start some sort of the animation of the eyes, like making them blink at regular intervals. |
void |
Wink()
Adds behavior to the right eye that makes it open and close. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RoundEyes()
Method Detail |
public void Open()
Open
in interface SnowEyes
public void Close()
Close
in interface SnowEyes
public void Wink()
Wink
in interface SnowEyes
public void Blink()
Blink
in interface SnowEyes
public void StartAnimate()
SnowEyes
StartAnimate
in interface SnowEyes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |