C# Class MatrixWalk.MatrixRotatingWalk

Afficher le fichier Open project: nzhul/TelerikAcademy Class Usage Examples

Méthodes publiques

Méthode Description
MatrixRotatingWalk ( int dimentions ) : System
ToString ( ) : string

Private Methods

Méthode Description
CheckIfNextCellIsEmpty ( int row, int col, int directionRow, int directionCol ) : bool
FillAllFreeCells ( ) : void
FindAllFreeCell ( ) : void
GetNewDirection ( int &dirRow, int &dirCol ) : void
IsCellAvailable ( int row, int col ) : bool
IsInRange ( int value ) : bool

Method Details

MatrixRotatingWalk() public méthode

public MatrixRotatingWalk ( int dimentions ) : System
dimentions int
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string