C# Class ChessDotNet.Pieces.Bishop

Inheritance: Piece
Afficher le fichier Open project: ProgramFOX/Chess.NET Class Usage Examples

Méthodes publiques

Méthode Description
Bishop ( Player owner ) : System
GetFenCharacter ( ) : char
GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
IsValidMove ( Move move, ChessGame game ) : bool

Method Details

Bishop() public méthode

public Bishop ( Player owner ) : System
owner Player
Résultat System

GetFenCharacter() public méthode

public GetFenCharacter ( ) : char
Résultat char

GetValidMoves() public méthode

public GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
from Position
returnIfAny bool
game ChessGame
gameMoveValidator bool>.Func
Résultat ReadOnlyCollection

IsValidMove() public méthode

public IsValidMove ( Move move, ChessGame game ) : bool
move Move
game ChessGame
Résultat bool