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 this[
	Coordinates coordinates
] { get; }
Visual Basic (Declaration)
Public ReadOnly Default Property Item ( _
	coordinates As Coordinates _
) As State
Visual C++
public:
property State default[Coordinates^ coordinates] {
	State get (Coordinates^ coordinates);
}

Parameters

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

Return Value

State of the given square.

See Also