Ryan Anderson and Eric Gordon are moving on from the Pelicans, but not from each other.

Hours after Anderson agreed to a four-year, $80 million contract with the Houston Rockets on Saturday, Yahoo Sports reported that Gordon had agreed to a contract with Houston for four years and $53 million.

The deals can’t be signed until the NBA’s moratorium on contract signings is lifted on Thursday.

The Rockets’ deal represents a huge pay raise for Anderson, who earned $8.5 million this season in New Orleans. Gordon, meanwhile, will earn about $13.25 million per season, down from the $15.5 million he made this season with the Pelicans.

Anderson averaged 17 points per game this season, the second-highest average of his career. He shot 42.3 percent from the floor and 36 percent from 3-point range.

The 28-year-old Anderson came to New Orleans via a sign-and-trade with Orlando in July 2012. In four seasons with the Hornets/Pelicans, he averaged 16.1 points and 5.9 rebounds per game, making 37.1 percent of his 3-point attempts.

Gordon, 27, averaged 15.2 points and made 38.4 percent of his 3-pointers in 2015-16. In five seasons in New Orleans — all of them shortened by injury — Gordon averaged 15.3 points per game.

Anderson had what he admits is a tumultuous time in New Orleans.

In 2013, his girlfriend, model Gia Allemand, committed suicide. Anderson told Sports Illustrated it was “the most painful experience of my life” and told Clippers guard J.J. Redick on Redick’s podcast this spring that his time in New Orleans was “the hardest, most testing time in my whole life, not only for my career, but my personal life.”

Houston this offseason hired former Suns, Knicks and Lakers coach Mike D’Antoni, whose “7 Seconds or Less” offense is the root of the system Pelicans coach Alvin Gentry ran this season and as an assistant last season at Golden State.

Roster set

The Pelicans on Saturday released their 14-man roster for the NBA Las Vegas Summer League, which includes drafted rookies Buddy Hield and Cheick Diallo.

New Orleans' team also will feature foreward Damien Inglis, who played last season with the Milwaukee Bucks, and a trio of undrafted rookies, North Carolina State guard Anthony "Cat" Barber, Iowa State' forward Jameel McKay and Northwestern center Alex Olah.

Nick Minnerath, a 6-foot-9 forward who played last season with the NBA Development League's Canton Charge, also is on the Pelicans' summer roster. He has received reported free-agent interest from multiple NBA teams.

The Pelicans will open Summer League play on July 8 at 9:30 p.m. against the Los Angeles Lakers in a game that will air on ESPN. The Pelicans' July 10 game against the Jazz at 7 p.m. will air on NBA TV, and their July 11 game against the Kings at 9 p.m. will air on ESPN2.

All Summer League games are available on the WatchESPN app.

Follow Brett Dawson on Twitter, @bdawsonwrites.