Method | Description | |
---|---|---|
GetFenCharacter ( ) : char | ||
GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func |
||
IsValidMove ( Move move, ChessGame game ) : bool | ||
King ( Player owner ) : System | ||
King ( Player owner, bool hasCastlingAbility ) : System |
Method | Description | |
---|---|---|
CanCastle ( Position origin, Position destination, ChessGame game ) : bool |
protected CanCastle ( Position origin, Position destination, ChessGame game ) : bool | ||
origin | Position | |
destination | Position | |
game | ChessGame | |
return | bool |
public GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func |
||
from | Position | |
returnIfAny | bool | |
game | ChessGame | |
gameMoveValidator | bool>.Func | |
return | ReadOnlyCollection |
public IsValidMove ( Move move, ChessGame game ) : bool | ||
move | Move | |
game | ChessGame | |
return | bool |
public King ( Player owner, bool hasCastlingAbility ) : System | ||
owner | Player | |
hasCastlingAbility | bool | |
return | System |