C# Class ChessDotNet.DetailedMove

Inheritance: Move
Show file Open project: ProgramFOX/Chess.NET Class Usage Examples

Public Methods

Method Description
DetailedMove ( Move move, Piece piece, bool isCapture, CastlingType castling )
DetailedMove ( Position originalPosition, Position newPosition, Player player, char promotion, Piece piece, bool isCapture, CastlingType castling )
Equals ( object obj ) : bool
GetHashCode ( ) : int
operator ( ) : bool

Method Details

DetailedMove() public method

public DetailedMove ( Move move, Piece piece, bool isCapture, CastlingType castling )
move Move
piece Piece
isCapture bool
castling CastlingType

DetailedMove() public method

public DetailedMove ( Position originalPosition, Position newPosition, Player player, char promotion, Piece piece, bool isCapture, CastlingType castling )
originalPosition Position
newPosition Position
player Player
promotion char
piece Piece
isCapture bool
castling CastlingType

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

operator() public static method

public static operator ( ) : bool
return bool