Skip to content

WorldSnapshot methods

See the WorldSnapshot class for what it records, how it's created (World.snapshot()), and how it's consumed (World.restore()).

WorldSnapshot has no public methods of its own beyond __len__ (len(snapshot) -- how many bodies it recorded). The World methods that create and consume it are documented on the World methods page.