Package curve.point
Class BCoords
java.lang.Object
curve.point.BCoords
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetBX()Returns the x coordinate of the board point.intgetBY()Returns the y coordinate of the board point.voidsetBX(int bx) Sets the x coordinate of the board point.voidsetBXBY(int bx, int by) Sets the x and y coordinate of the board point.voidsetBY(int by) Sets the y coordinate of the board point.
- 
Field Details- 
bxpublic int bxThe horizontal board position of a dot
- 
bypublic int byThe vertical board position of a dot
 
- 
- 
Constructor Details- 
BCoordspublic BCoords(int bx, int by) dummy default constructor- Parameters:
- bx- -
- by- -
 
 
- 
- 
Method Details- 
getBXpublic int getBX()Returns the x coordinate of the board point.- Returns:
- the horizontal board position
 
- 
getBYpublic int getBY()Returns the y coordinate of the board point.- Returns:
- the vertical board position
 
- 
setBXpublic void setBX(int bx) Sets the x coordinate of the board point.- Parameters:
- bx- the horizontal board position
 
- 
setBYpublic void setBY(int by) Sets the y coordinate of the board point.- Parameters:
- by- the vertical board position
 
- 
setBXBYpublic void setBXBY(int bx, int by) Sets the x and y coordinate of the board point.- Parameters:
- bx- the horizontal board position
- by- the vertical board position
 
 
-