C# Class ChessDotNet.Piece

Mostrar archivo Open project: ProgramFOX/Chess.NET Class Usage Examples

Public Methods

Method 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 method

public Equals ( object obj ) : bool
obj object
return bool

GetFenCharacter() public abstract method

public abstract GetFenCharacter ( ) : char
return char

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetValidMoves() public abstract method

public abstract GetValidMoves ( Position from, bool returnIfAny, ChessGame game, bool>.Func gameMoveValidator ) : ReadOnlyCollection
from Position
returnIfAny bool
game ChessGame
gameMoveValidator bool>.Func
return ReadOnlyCollection

IsValidMove() public abstract method

public abstract IsValidMove ( Move move, ChessGame game ) : bool
move Move
game ChessGame
return bool

operator() public static method

public static operator ( ) : bool
return bool