C# Class StrongChess.Model.Move

Mostrar archivo Open project: ElemarJR/StrongChess

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
Move ( Square from, Square to, MoveTypes type = MoveTypes.Normal ) : System.Collections.Generic
ToString ( ) : string
operator ( ) : bool

Method Details

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Move() public method

public Move ( Square from, Square to, MoveTypes type = MoveTypes.Normal ) : System.Collections.Generic
from StrongChess.Model.BoardUnits.Square
to StrongChess.Model.BoardUnits.Square
type MoveTypes
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool