Gets the State of one square in the playing field.

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

Syntax

C#
public State GetState(
	Coordinates coordinates
)
Visual Basic (Declaration)
Public Function GetState ( _
	coordinates As Coordinates _
) As State
Visual C++
public:
State GetState(
	Coordinates^ coordinates
)

Parameters

coordinates
Type: SoftwareArchitects.Battleships..::.Coordinates
Coordinates of the square.

Return Value

State of the given square

See Also