Property | Type | Description | |
---|---|---|---|
allocator | MovesArrayAllocator | ||
playerBoards | Queem.Core.ChessBoard.PlayerBoard[] |
Method | Description | |
---|---|---|
CancelLastMove ( System.Color color ) : void | ||
FilterMoves ( FixedArray moves, System.Color playerColor ) : void | ||
ForEachFigure ( Figure>.Action |
||
ForEachFigureReal ( Action |
||
GameProvider ( MovesArrayAllocator arrayAllocator ) : System | ||
GetTargetSquares ( Square square, System.Color playerColor ) : List |
||
IsCheckmate ( System.Color color ) : bool | ||
IsStalemate ( System.Color color ) : bool | ||
IsUnderCheck ( System.Color color ) : bool | ||
ProcessMove ( |
||
PromotePawn ( System.Color color, Square square, Figure newFigure ) : void | ||
ResetAll ( ) : void |
Method | Description | |
---|---|---|
AreNoMoves ( |
public CancelLastMove ( System.Color color ) : void | ||
color | System.Color | |
return | void |
public FilterMoves ( FixedArray moves, System.Color playerColor ) : void | ||
moves | FixedArray | |
playerColor | System.Color | |
return | void |
public ForEachFigure ( Figure>.Action |
||
action | Figure>.Action | |
return | void |
public ForEachFigureReal ( Action |
||
action | Action |
|
return | void |
public GameProvider ( MovesArrayAllocator arrayAllocator ) : System | ||
arrayAllocator | MovesArrayAllocator | |
return | System |
public GetTargetSquares ( Square square, System.Color playerColor ) : List |
||
square | Square | |
playerColor | System.Color | |
return | List |
public IsCheckmate ( System.Color color ) : bool | ||
color | System.Color | |
return | bool |
public IsStalemate ( System.Color color ) : bool | ||
color | System.Color | |
return | bool |
public IsUnderCheck ( System.Color color ) : bool | ||
color | System.Color | |
return | bool |
public ProcessMove ( |
||
move | ||
color | System.Color | |
return | void |
public PromotePawn ( System.Color color, Square square, Figure newFigure ) : void | ||
color | System.Color | |
square | Square | |
newFigure | Figure | |
return | void |