C# Class ChessDotNet.Piece

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

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool
GetFenCharacter ( ) : char
GetHashCode ( ) : int
GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
IsValidMove ( Move move, ChessGame game ) : bool
operator ( ) : bool

Method Details

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetFenCharacter() public abstract méthode

public abstract GetFenCharacter ( ) : char
Résultat char

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetValidMoves() public abstract méthode

public abstract 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 abstract méthode

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

operator() public static méthode

public static operator ( ) : bool
Résultat bool