BVG.Board.IsValidBoardPosition C# (CSharp) Method

IsValidBoardPosition() private method

Determines whether this instance is valid board position the specified boardPosition.
private IsValidBoardPosition ( IntVector2 boardPosition ) : bool
boardPosition IntVector2 Board position.
return bool
		private bool IsValidBoardPosition(IntVector2 boardPosition) {
			int x = boardPosition.x;
			int y = boardPosition.y;
			if (x > BOARD_GRID_SIZE || x < 0 || y > BOARD_GRID_SIZE || y < 0) {
				return false;
			}
			return true;
		}