C# Class Assets.Project.ChessEngine.Pieces.King

Inheritance: Assets.Project.ChessEngine.Pieces.Piece
显示文件 Open project: pedjamitrovic/Chess3D

Public Methods

Method Description
GetIndex ( Color color ) : int
GetLabel ( Color color ) : char
IsBig ( ) : bool
IsMajor ( ) : bool
IsMinor ( ) : bool
King ( Color color, Square square )

Method Details

GetIndex() public static method

public static GetIndex ( Color color ) : int
color Color
return int

GetLabel() public static method

public static GetLabel ( Color color ) : char
color Color
return char

IsBig() public method

public IsBig ( ) : bool
return bool

IsMajor() public method

public IsMajor ( ) : bool
return bool

IsMinor() public method

public IsMinor ( ) : bool
return bool

King() public method

public King ( Color color, Square square )
color Color
square Square