[]
Creates a new coordinate object given with the (0,0) coordinates
public Coord()
Public Sub New()
Creates a new coordinate object given the two coordinates.
public Coord(int x, int y)
Public Sub New(x As Integer, y As Integer)
| Type | Name | Description |
|---|---|---|
| int | x | The horizontal coordinate. |
| int | y | The vertical coordinate. |
Creates a new coordinate object given another Coord object i.e. copy constructor
public Coord(Coord c)
Public Sub New(c As Coord)
| Type | Name | Description |
|---|---|---|
| Coord | c | The Coord object to be copied. |