|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectNGP.Graphics.Shape
NGP.Graphics.RectangularShape
NGP.Graphics.FilledRectangularShape
NGP.Graphics.FilledEllipse
cs015.SP.CoalMouth
Modified by Kalin Agrawal (kagrawal) to work with NGP on 7/1/1999
Field Summary |
Fields inherited from class NGP.Graphics.Shape |
_awtShape, _dpanel |
Fields inherited from interface cs015.SP.SnowPersonConstants |
DIMENSION, LOCATION |
Fields inherited from interface NGP.Colorable |
DEFAULT_GRAY |
Constructor Summary | |
CoalMouth()
The constructor initializes the mouth and positions it on the screen. |
Method Summary | |
void |
Close()
This method closes the mouth. |
void |
Open()
This method opens the mouth. |
void |
react()
|
void |
StartAnimate()
This method starts the animation that makes the mouth open and close at regular intervals. |
Methods inherited from class NGP.Graphics.FilledRectangularShape |
actualPaint |
Methods inherited from class NGP.Graphics.RectangularShape |
getDimension, getLocation, setCenterLocation, setDimension, setLocation, unwrap, wrap |
Methods inherited from class NGP.Graphics.Shape |
contains, drag, getBounds, getCenterLocation, getColor, getDrawingPanel, getRotation, hide, intersects, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, setColor, setDrawingPanel, setRotation, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CoalMouth()
Method Detail |
public void Open()
Open
in interface SnowMouth
public void Close()
Close
in interface SnowMouth
public void StartAnimate()
StartAnimate
in interface SnowMouth
public void react()
react
in interface Reactor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |