Package curve.point
Class FCoords
java.lang.Object
curve.point.FCoords
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetX()Returns the x coordinate of the board point.intgetY()Returns the y coordinate of the board point.voidsetX(int fx) Sets the x coordinate of the board point.voidsetXY(int fx, int fy) Sets the x and y coordinate of the screen point.voidsetY(int fy) Sets the y coordinate of the board point.
- 
Field Details- 
fxpublic int fxThe horizontal board position of a dot
- 
fypublic int fyThe vertical board position of a dot
 
- 
- 
Constructor Details- 
FCoordspublic FCoords(int fx, int fy) constructor - mother of all points- Parameters:
- fx- -
- fy- -
 
 
- 
- 
Method Details- 
getXpublic int getX()Returns the x coordinate of the board point.- Returns:
- the horizontal board position
 
- 
getYpublic int getY()Returns the y coordinate of the board point.- Returns:
- the vertical board position
 
- 
setXpublic void setX(int fx) Sets the x coordinate of the board point.- Parameters:
- fx- the horizontal board position
 
- 
setYpublic void setY(int fy) Sets the y coordinate of the board point.- Parameters:
- fy- the vertical board position
 
- 
setXYpublic void setXY(int fx, int fy) Sets the x and y coordinate of the screen point.- Parameters:
- fx- the horizontal screen position
- fy- the vertical screen position
 
 
-