Gets the state of one square in the playing field
Namespace:
SoftwareArchitects.BattleshipsAssembly: SoftwareArchitects.Battleships (in SoftwareArchitects.Battleships.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public State GetState( int x, int y ) |
| Visual Basic (Declaration) |
|---|
Public Function GetState ( _ x As Integer, _ y As Integer _ ) As State |
| Visual C++ |
|---|
public: State GetState( int x, int y ) |
Parameters
- x
- Type: System..::.Int32
Horizontal position (0 - 9)
- y
- Type: System..::.Int32
Vertical position (0 - 9)