示例#1
0
 public TurnEndingEventArgs(Sides currentSide)
 {
     CurrentSide = currentSide;
     NextSide    = currentSide.Opposite();
 }
示例#2
0
 public static bool IsInCheckAtPosition(Sides side, ChessBoardCell boardCell)
 {
     return(boardCell.ChessBoard.CellsUnderAttack[side.Opposite()].Contains(boardCell));
 }