Свойство | Тип | Описание | |
---|---|---|---|
DOWN | System.Action | ||
LEFT | System.Action | ||
RIGHT | System.Action | ||
UP | System.Action |
Метод | Описание | |
---|---|---|
EightPuzzleBoard ( ) : System | ||
EightPuzzleBoard ( |
||
EightPuzzleBoard ( int state ) : System | ||
Equals ( Object o ) : bool | ||
HashCode ( ) : int | ||
ToString ( ) : String | ||
canMoveGap ( System.Action where ) : bool | ||
getLocationOf ( int val ) : XYLocation | ||
getPositions ( ) : List |
||
getState ( ) : int[] | ||
getValueAt ( XYLocation loc ) : int | ||
moveGapDown ( ) : void | ||
moveGapLeft ( ) : void | ||
moveGapRight ( ) : void | ||
moveGapUp ( ) : void | ||
setBoard ( List |
Метод | Описание | |
---|---|---|
getAbsPosition ( int x, int y ) : int | ||
getGapPosition ( ) : int | ||
getPositionOf ( int val ) : int | ||
getValueAt ( int x, int y ) : int | ||
getXCoord ( int absPos ) : int | ||
getYCoord ( int absPos ) : int | ||
setValue ( int x, int y, int val ) : void |
public EightPuzzleBoard ( |
||
copyBoard | ||
Результат | System |
public EightPuzzleBoard ( int state ) : System | ||
state | int | |
Результат | System |
public canMoveGap ( System.Action where ) : bool | ||
where | System.Action | |
Результат | bool |
public getLocationOf ( int val ) : XYLocation | ||
val | int | |
Результат | XYLocation |
public getValueAt ( XYLocation loc ) : int | ||
loc | XYLocation | |
Результат | int |