Package curve.point
Class BCoords
java.lang.Object
curve.point.BCoords
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getBX()
Returns the x coordinate of the board point.int
getBY()
Returns the y coordinate of the board point.void
setBX
(int bx) Sets the x coordinate of the board point.void
setBXBY
(int bx, int by) Sets the x and y coordinate of the board point.void
setBY
(int by) Sets the y coordinate of the board point.
-
Field Details
-
bx
public int bxThe horizontal board position of a dot -
by
public int byThe vertical board position of a dot
-
-
Constructor Details
-
BCoords
public BCoords(int bx, int by) dummy default constructor- Parameters:
bx
- -by
- -
-
-
Method Details
-
getBX
public int getBX()Returns the x coordinate of the board point.- Returns:
- the horizontal board position
-
getBY
public int getBY()Returns the y coordinate of the board point.- Returns:
- the vertical board position
-
setBX
public void setBX(int bx) Sets the x coordinate of the board point.- Parameters:
bx
- the horizontal board position
-
setBY
public void setBY(int by) Sets the y coordinate of the board point.- Parameters:
by
- the vertical board position
-
setBXBY
public void setBXBY(int bx, int by) Sets the x and y coordinate of the board point.- Parameters:
bx
- the horizontal board positionby
- the vertical board position
-