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