public override Square[] GetValidMoves() { var squares = SquareUtils.GetDiagonals(Square, Color); return(squares.Concat(SquareUtils.GetStraights(Square, Color)).ToArray()); }
public string GetSquareName() { return(SquareUtils.GetSquareNameFromColAndRow(Column, Row)); }
public override Square[] GetValidMoves() { return(SquareUtils.GetPawnMoveSquares(Square, this)); }
public override Square[] GetValidMoves() { return(SquareUtils.GetKingSquares(Square, Color)); }
public override Square[] GetValidMoves() { return(SquareUtils.GetDiagonals(Square, Color)); }
public override Square[] GetValidMoves() { return(SquareUtils.GetStraights(Square, Color)); }