|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BallDescriber
A BallDescriber is an object that can describe (return) its velocity, size, and mass, in addition to its inherited (from Drawable) ability to describe its Color and Shape.
| Method Summary | |
|---|---|
double |
getMass()
Returns the mass of this BallDescriber. |
double |
getSize()
Returns the size of this BallDescriber. |
Point2D |
getVelocity()
Returns the velocity (i.e., speed in x-direction and speed in y-direction) of this BallDescriber. |
| Methods inherited from interface ballWorlds.Drawable |
|---|
getColor, getShape |
| Method Detail |
|---|
Point2D getVelocity()
double getMass()
double getSize()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||