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