[]
This class represents 2-D coordinates.
public class Coord
| Name | Description |
|---|---|
| Coord() | Creates a new coordinate object given with the (0,0) coordinates |
| Coord(Coord) | Creates a new coordinate object given another Coord object i.e. copy constructor |
| Coord(int, int) | Creates a new coordinate object given the two coordinates. |
| Name | Description |
|---|---|
| x | The horizontal coordinate |
| y | The vertical coordinate |
| Name | Description |
|---|---|
| ToString() | Returns a string representation of the object coordinates |