public class CentrePoint extends Point
Constructor and Description |
---|
CentrePoint(double radius,
java.lang.String name,
java.lang.String colour)
Constructor method.
|
getColour, getDiameter, getFocus, getName, getRadius, setColour, setDiameter, setFocus, setName
public CentrePoint(double radius, java.lang.String name, java.lang.String colour)
radius
- The radius of the body (the table I used for values had
radii rather than diameters).name
- The name of the body.colour
- The colour of the body.