|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBounceChanger
An interface that bouncing things should conform to so that some of their properties can be modified.
| Method Summary | |
|---|---|
void |
setColor(Color newColor)
Set the color of a bouncing thing. |
void |
setDimension(java.awt.Dimension newDimension)
Set the dimension of a bouncing thing. |
void |
setMovement(Vector movementVector)
Set the movement vector of a bouncing thing. |
void |
startBouncing()
Start the bouncing thing bouncing. |
void |
stopBouncing()
Stop the bouncing thing from bouncing. |
| Method Detail |
|---|
void stopBouncing()
void startBouncing()
void setMovement(Vector movementVector)
movementVector - the new vector controlling the movement.void setDimension(java.awt.Dimension newDimension)
newDimension - the new dimension.void setColor(Color newColor)
newColor - the new color.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||