Свойство | Тип | Описание | |
---|---|---|---|
data | ].Figure[ | ||
dimension | int[] | ||
heuristic | ChessHeuristic | ||
symIndex | int | ||
symList | String |
Метод | Описание | |
---|---|---|
Board ( ) : System | ||
Board ( |
||
Clone ( ) : |
||
Step ( int fromRow, int fromCol, int toRow, int toCol ) : void | ||
UpdateActivePieces ( Piece list, Piece p ) : void | ||
UpdateCurrentPlayer ( ) : void | ||
addFigure ( |
||
checkIsEmpty ( int x, int y ) : bool | ||
checkIsFull ( ) : bool | ||
checkTest ( bool white ) : bool | ||
checkWinningState ( ) : void | ||
checkmateTest ( bool white ) : bool | ||
getData ( ) : ].Figure[ | ||
getDimension ( ) : int[] | ||
getFigureAt ( int row, int col ) : |
||
getItemByRC ( int row, int col ) : |
||
getNextSym ( ) : char | ||
getValue ( ) : int | ||
insertPiece ( int x, int y, Piece iPiece ) : void | ||
setContent ( String fig, String col ) : void | ||
setCurrentPlayer ( PlayerType cPlayer ) : void | ||
setDimension ( int dim ) : void | ||
setHeuristic ( ChessHeuristic heur ) : void |
Метод | Описание | |
---|---|---|
Index ( int row, int col ) : int |
Метод | Описание | |
---|---|---|
Equals ( |
||
win ( int valami ) : System.Boolean |
public Step ( int fromRow, int fromCol, int toRow, int toCol ) : void | ||
fromRow | int | |
fromCol | int | |
toRow | int | |
toCol | int | |
Результат | void |
public UpdateActivePieces ( Piece list, Piece p ) : void | ||
list | Piece | |
p | Piece | |
Результат | void |
public checkIsEmpty ( int x, int y ) : bool | ||
x | int | |
y | int | |
Результат | bool |
public checkmateTest ( bool white ) : bool | ||
white | bool | |
Результат | bool |
public getFigureAt ( int row, int col ) : |
||
row | int | |
col | int | |
Результат |
public getItemByRC ( int row, int col ) : |
||
row | int | |
col | int | |
Результат |
public insertPiece ( int x, int y, Piece iPiece ) : void | ||
x | int | |
y | int | |
iPiece | Piece | |
Результат | void |
public setContent ( String fig, String col ) : void | ||
fig | String | |
col | String | |
Результат | void |
public setCurrentPlayer ( PlayerType cPlayer ) : void | ||
cPlayer | PlayerType | |
Результат | void |
public setHeuristic ( ChessHeuristic heur ) : void | ||
heur | ChessHeuristic | |
Результат | void |