Initializes a new instance of the Coordinates class with the specified coordinates.

Namespace:  SoftwareArchitects.Battleships
Assembly:  SoftwareArchitects.Battleships (in SoftwareArchitects.Battleships.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Coordinates(
	int x,
	int y
)
Visual Basic (Declaration)
Public Sub New ( _
	x As Integer, _
	y As Integer _
)
Visual C++
public:
Coordinates(
	int x, 
	int y
)

Parameters

x
Type: System..::.Int32
Horizontal position.
y
Type: System..::.Int32
Vertical position.

See Also