Since issuing his resignation statement, former CIA Director David Petraeus has kept out of the public eye. Yet the general has been popping up on millions of television screens at the same time.

He has a cameo in the new video game "Call of Duty: Black Ops 2." The game, a first-person shooter developed by Activision, is the highly anticipated follow-up to "Call of Duty: Black Ops," which reached $1 billion in sales in just six weeks.

In "Black Ops 2," set in 2025 (with many flashbacks), Petraeus appears as the secretary of defense. He pops up at several points throughout the game, starting on the deck of an aircraft carrier, the U.S.S. Barack Obama, awaiting the arrival of the game's villain, Raul Menendez, a Nicaraguan narcoterrorist who starts a global insurgency network to overthrow the world's 1 percent.

Petraeus, who is voiced by actor Jim Meskimen, talks to Admiral Briggs, the commander of Navy SEAL David Mason, the shooter whom the player controls. While Menendez is in custody, there's still threat of war.

"The last order to DEFCON 3 was given by Secretary Rumsfield almost 25 years ago," Petraeus says. And when Menendez is escorted from the plane, Petraeus offers the wry greeting, "President Bosworth sends her regards." (President Bosworth sounds a lot like Hillary Clinton.)

Petraeus may have spoken too soon. Menendez's forces attack the carrier and free him - his capture was a ruse to allow Menendez to take over computer controls of the U.S. drone force, which he employs to target Chinese cities as well as the president, who is traveling with Petraeus.

At this point things are looking pretty bleak. Petraeus makes his final speaking appearance and explains Menendez's nefarious plot to the president. "Is this it? Is this the end?" the president asks him. "Madame president," he replies, "may God help us."

Of course, the good guys prevail. And after one of the possible triumphant endings to the game, there's a concert scene where Petraeus and the president can be seen fist pumping, "Jersey Shore"-style.