C# Class ChessDotNet.Pieces.Queen

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

Méthodes publiques

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

Method Details

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

Queen() public méthode

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