Chess.Data.Piece.Knight.EndPositionIsWithinBounds C# (CSharp) Метод

EndPositionIsWithinBounds() приватный статический Метод

private static EndPositionIsWithinBounds ( int newRow, int newColumn ) : bool
newRow int
newColumn int
Результат bool
        private static bool EndPositionIsWithinBounds(int newRow, int newColumn)
        {
            return newRow < 8 && newRow >= 0 && newColumn < 8 && newColumn >= 0;
        }